decentralized-identity / universal-resolver

Universal Resolver implementation and drivers.
https://uniresolver.io/
Apache License 2.0
558 stars 246 forks source link

did:ethr driver error:500 Internal Server Error #414

Open caict-develop-zhangbo opened 7 months ago

caict-develop-zhangbo commented 7 months ago

've recently deployed the DID Universal Resolver locally and encountered an error when trying to resolve did:ethr. The error message received is as follows:

{"@context":"https://w3id.org/did-resolution/v1","didDocument":null,"didResolutionMetadata":{"error":"internalError","errorMessage":"Driver cannot retrieve result for did:ethr:0x03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479: 500 Internal Server Error ()","contentType":"application/did+ld+json"},"didDocumentMetadata":{}}

I'm reaching out to inquire if anyone has insights into the possible reasons behind this error. Any assistance or guidance would be greatly appreciated.

peacekeeper commented 7 months ago

Hello @caict-develop-zhangbo thanks for reporting this, but when I try it, it seems to work fine: https://dev.uniresolver.io/#did:ethr:0x03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479

Could you try again and let us know if it still fails?

caict-develop-zhangbo commented 7 months ago

Yes, the problem still exists. The scenario to reproduce it is when I deploy a universal-resolver locally and resolve did:ethr:0x03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479. It works fine when I directly call https://dev.uniresolver.io/#did:ethr:0x03fdd57adec3d438ea237fe46b33ee1e016eda6b585c3e27ea66686c2ea5358479, but it doesn't work with my local deployment, and I don't know where the problem lies."

peacekeeper commented 7 months ago

I just tried it, and I can't reproduce this, for me it's working fine.

The Universal Resolver uses this driver for did:ethr: https://github.com/uport-project/uport-did-driver

See configuration here:

Can you maybe check if the uport/uni-resolver-driver-did-uport:5.0.0 container is running locally, and what logs it shows? And any logs from the universalresolver/uni-resolver-web:latest container?