Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Response 403 for jolocom-did-driver #36

Closed
BernhardFuchs opened this issue Nov 16, 2020 · 3 comments · Fixed by #40
Closed

Invalid Response 403 for jolocom-did-driver #36

BernhardFuchs opened this issue Nov 16, 2020 · 3 comments · Fixed by #40

Comments

@BernhardFuchs
Copy link

When resolving the example DID for the Universal Resolver the driver throws following error:

(node:46) UnhandledPromiseRejectionWarning: Error: invalid response - 403
    at exports.XMLHttpRequest.request.onreadystatechange (/usr/src/app/node_modules/ethers/utils/web.js:84:29)
    at exports.XMLHttpRequest.dispatchEvent (/usr/src/app/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
    at setState (/usr/src/app/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14)
    at IncomingMessage.<anonymous> (/usr/src/app/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1125:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
(node:46) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:46) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Request is:
https://dev.uniresolver.io/1.0/identifiers/did:jolo:e76fb4b4900e43891f613066b9afca366c6d22f7d87fc9f78a91515be24dfb21

@mnzaki
Copy link
Contributor

mnzaki commented Jan 12, 2021

This should be fixed soon, but pending publishing to docker hub!

@mnzaki mnzaki reopened this Jan 12, 2021
@chunningham
Copy link
Contributor

container has been published under jolocomgmbh/jolocom-did-driver:latest

@BernhardFuchs
Copy link
Author

Just pulled the new image and the startup fails with:

yarn run v1.13.0
$ yarn prepare && node js/index.js
error Command "prepare" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants