question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to resolve DID document after upgrading to version 1.2.0

See original GitHub issue

Bug severity 5 (I am not sure what configuration I did wrongly)

Describe the bug Not able to resolve a DID Document.

To Reproduce Steps to reproduce the behaviour:

  1. Initialize WebDidDocRouter and add it to the routers of the app server:
import { WebDidDocRouter } from '@veramo/remote-server';
...
const didDocRouter = WebDidDocRouter();

export default function routes(app: Application): void {
  ...
  app.use(didDocRouter);
}

...

export default new Server().router(routes).listen(port, httpsPort);
  1. Try to resolve the DID
    const { username, identity } = await createIdentity();

    const didDoc: any = await agent.resolveDid({
      didUrl: `did:web:${username}`,
    });

Observed behaviour The await, in the above code, never comes back with the DID Doc. It just waits forever.

Expected behaviour Be able to resolve the DID Doc .

Versions (please complete the following information):

  • Veramo: 1.2.0
  • Node Version: 12.13.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Muhammad-Altabbacommented, May 18, 2021

This resolved the issue. Thanks,

1reaction
strumswellcommented, May 17, 2021

Hey, I’m not a Veramo dev but did you import the WebDIDProvider and and added [1, 2] the resolver to your Veramo setup? And afaik the did.json is placed in the .well-known directory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing Poetry 1.2.0 | Blog
As Poetry 1.1 will remove optional dependencies that are not requested, and as it considers setuptools, pip, and wheel to always be optional, ......
Read more >
poetry 1.2.0 can't install packages from private pypi servers ...
After upgrading from poetry 1.1.15 to 1.2.0, I can no longer poetry install in my dev environment - it fails on a single...
Read more >
Upgrading your build from Gradle 5.x to 6.0
Run gradle wrapper --gradle-version 6.0 to update the project to 6.0. ... These methods currently do not work as expected since the callbacks...
Read more >
Upgrade Tanzu Application Platform - VMware Docs
When upgrading to Tanzu Application Platform v1.2, Tanzu Build Service image resources automatically run a build that fails due to a missing dependency....
Read more >
Springfox swagger not working in spring boot 2.2.0
I upgraded to Springfox Swagger2 to 3.0.0 version and spring plugin code to 2.0.0.RELEASE version.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found