Not able to resolve DID document after upgrading to version 1.2.0
See original GitHub issueBug 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:
- 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);
- 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:
- Created 2 years ago
- Comments:8 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This resolved the issue. Thanks,
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.