You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this pull request the aries cloud agent v1.0.0 startup parameter --universal-resolver is supposed to include DID resolving via https://dev.uniresolver.io.
There are two issues for me:
(1) Using the --universal-resolver https://dev.uniresolver.io as startup parameter requires to also use the startup parameter --universal-resolver-regex. Otherwise, the agent won't start:
2024-08-25 16:06:31,818 aries_cloudagent.commands.start ERROR Exception during startup:
Traceback (most recent call last):
File "/usr/src/app/aries_cloudagent/commands/start.py", line 72, in init
await startup
File "/usr/src/app/aries_cloudagent/commands/start.py", line 28, in start_app
await conductor.setup()
File "/usr/src/app/aries_cloudagent/core/conductor.py", line 128, in setup
context = await self.context_builder.build_context()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/aries_cloudagent/config/default_context.py", line 78, in build_context
await self.load_plugins(context)
File "/usr/src/app/aries_cloudagent/config/default_context.py", line 181, in load_plugins
await plugin_registry.init_context(context)
File "/usr/src/app/aries_cloudagent/core/plugin_registry.py", line 207, in init_context
await plugin.setup(context)
File "/usr/src/app/aries_cloudagent/resolver/__init__.py", line 56, in setup
await universal_resolver.setup(context)
File "/usr/src/app/aries_cloudagent/resolver/default/universal.py", line 66, in setup
supported_did_regex = await self._get_supported_did_regex()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/aries_cloudagent/resolver/default/universal.py", line 114, in _get_supported_did_regex
props = await self._fetch_resolver_props()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/aries_cloudagent/resolver/default/universal.py", line 109, in _fetch_resolver_props
raise ResolverError(
aries_cloudagent.resolver.base.ResolverError: Failed to retrieve resolver properties: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.25.4</center>
</body>
</html>
(2) When starting the aries cloud agent 1.0.0 with --universal-resolver --universal-resolver-regex did:web:.* does start the agent but there seem to be no attempt to actually resolve DIDs via the Universal Resolver. The attempt to issue a W3C VC via OpenAPI page fails with the following error:
No I have not. Thanks for the hint! Will try when back in the office after Sep 9th…Sent from the roadAm 28.08.2024 um 09:08 schrieb Ricky Ng-Adam ***@***.***>:
Have you tried specifying the version of the universal resolver?
https://dev.uniresolver.io/1.0
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
Apologies, my fault! I should have tried dev.uniresolver.io before creating an issue. The DID did:web:emc.spacebel.be:organisations:dlr is simply not resolvable.
I've tried with another resolvable DID and it shows that either option to start the agent is vaild and identical:
According to this pull request the aries cloud agent v1.0.0 startup parameter
--universal-resolver
is supposed to include DID resolving viahttps://dev.uniresolver.io
.There are two issues for me:
(1) Using the
--universal-resolver https://dev.uniresolver.io
as startup parameter requires to also use the startup parameter--universal-resolver-regex
. Otherwise, the agent won't start:(2) When starting the aries cloud agent 1.0.0 with
--universal-resolver --universal-resolver-regex did:web:.*
does start the agent but there seem to be no attempt to actually resolve DIDs via the Universal Resolver. The attempt to issue a W3C VC via OpenAPI page fails with the following error:However, the direct use of https://dev.uniresolver.io/ resolves the DID as follows:
This is the actual request to issue the W3C VC:
What do I do wrong? Any help is much appreciated...
The text was updated successfully, but these errors were encountered: