Closed kentbull closed 2 years ago
@kentbull I tested this on my end [Mac m1 (arm)] and it is working. What version of Docker Desktop
is installed on your system? Was this working for you before?
Docker version:
docker version
Client:
Cloud integration: v1.0.22
Version: 20.10.13
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 10 14:08:43 2022
OS/Arch: darwin/arm64
Context: default
Experimental: true
Server: Docker Desktop 4.6.1 (76265)
Engine:
Version: 20.10.13
API version: 1.41 (minimum version 1.12)
Go version: go1.16.15
Git commit: 906f57f
Built: Thu Mar 10 14:05:37 2022
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.5.10
GitCommit: 2a1d4dbdb2a1030dc5b01e96fb110a9d9f150ecc
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba
docker-init:
Version: 0.19.0
GitCommit: de40ad0
And no, this was not working for me before. It always failed. I tried again today with the same result.
I am seeing 11 instances of the following error in the logs on von-network startup:
von-webserver-1 | 2022-05-13 02:05:57,189|ERROR|libindy.py| src/services/pool/state_proof/mod.rs:86 | Given signature is not for current root hash, aborting
I was able to move on beyond this issue by using the Play With Docker approach though I'd like to assist in resolving this Run Locally With Docker issue. Let's figure this out.
@kentbull If possible, can you test this with Docker Desktop 4.0.1 [Docker v20.10.8]? I had issues on mac m1 as well and got them resolved by using this particular version.
Yes, I can confirm a downgrade to Docker Desktop 4.0.1 solves the issue. Thanks @shaangill025
Thanks @shaangill025 .. This resolved my issue as well. What do you think the latest version of Docker Desktop we can go up to?
I had the same problem with my mac m1. I upgraded to version 4.9.0 now it works :)
starting the Alice demo at the The Alice/Faber Python demo step.
Repro steps:
Use Windows Start up the VON network with ./manage start --logs Start up Alice with ./run_demo alice when I paste the invitation data i receive the following error:
Invite details: {"@type": "https://didcomm.org/out-of-band/1.1/invitation", "@id ": "f6a82e70-592 f-4f7e-9d87-29c60d1602dd", "handshake_protocols": ["https://did comm.org/didexcha nge/1.0"], "label": "faber.agent", "services": [{"id": "#inlin e", "type": "did-c ommunication", "recipientKeys": ["did:key:z6MkiFgbKBcDTsCuje7 XqwrZRTfASj1dHNEZvu WD9bMwSSu6"], "serviceEndpoint": "http://host.docker.interna l:8020"}]}
Alice | 2023-04-04 02:27:24,183 aries_cloudagent.messaging.models.base ERRO R Service message validation error: Alice | Traceback (most recent call last): Alice | File "/home/indy/aries_cloudagent/messaging/models/base.py", line 201, in deserialize Alice | Alice | schema.loads(obj) if isinstance(obj, str) else schema.load(obj) , Shutting down agent ... Alice | ================= Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 723, in load Alice | data, many=many, partial=partial, unknown=unknown, postprocess= True Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 904, in _do_load Alice | raise exc Alice | marshmallow.exceptions.ValidationError: {'recipientKeys': {0: ['Val ue did:key:z6MkiFgbKBcDTsCuje7XqwrZRTfASj1dHNEZvu WD9bMwSSu6 is not in W3C did:k ey format']}} Alice | 2023-04-04 02:27:24,186 aries_cloudagent.admin.server ERROR Handler error with exception: Service schema validation failed Alice | Traceback (most recent call last): Alice | File "/home/indy/aries_cloudagent/messaging/models/base.py", line 201, in deserialize Alice | schema.loads(obj) if isinstance(obj, str) else schema.load(obj) , Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 723, in load Alice | data, many=many, partial=partial, unknown=unknown, postprocess= True Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 904, in _do_load Alice | raise exc Alice | marshmallow.exceptions.ValidationError: {'recipientKeys': {0: ['Val ue did:key:z6MkiFgbKBcDTsCuje7XqwrZRTfASj1dHNEZvu WD9bMwSSu6 is not in W3C did:k ey format']}} Alice | Alice | The above exception was the direct cause of the following exception |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Alice | ||||||||||||||||||||||
Alice | Traceback (most recent call last): | |||||||||||||||||||||
Alice | File "/home/indy/aries_cloudagent/admin/server.py", line 173, in |
ready_middleware Alice | return await handler(request) Alice | File "/home/indy/aries_cloudagent/admin/server.py", line 210, in debug_middleware Alice | return await handler(request) Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/aiohttp_apispec/middlewares.py", line 34, in validation_middleware Alice | schema["schema"], request, locations=schema["locations"] Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/webargs/asyncparser.py", line 90, in parse Alice | result = schema.load(parsed) Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 723, in load Alice | data, many=many, partial=partial, unknown=unknown, postprocess= True Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 861, in _do_load Alice | unknown=unknown, Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 669, in _deserialize Alice | index=index, Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 493, in _call_and_store Alice | value = getter_func(data) Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/marshmallow/schema.py", line 662, in |
val, field_name, data, **d_kwargs Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/fields.py", line 342, in deserialize Alice | output = self._deserialize(value, attr, data, **kwargs) Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/fields.py", line 713, in _deserialize Alice | result.append(self.inner.deserialize(each, **kwargs)) Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/fields.py", line 342, in deserialize Alice | output = self._deserialize(value, attr, data, **kwargs) Alice | File "/home/indy/aries_cloudagent/protocols/out_of_band/v1_0/mess ages/invitation.py", line 98, in _deserialize Alice | return Service.deserialize(value) Alice | File "/home/indy/aries_cloudagent/messaging/models/base.py", line 205, in deserialize Alice | raise BaseModelError(f"{cls.name} schema validation failed" ) from err Alice | aries_cloudagent.messaging.models.base.BaseModelError: Service sche ma validation failed Alice | 2023-04-04 02:27:24,199 aiohttp.server ERROR Error handling request Alice | Traceback (most recent call last): Alice | File "/home/indy/aries_cloudagent/messaging/models/base.py", line 201, in deserialize Alice | schema.loads(obj) if isinstance(obj, str) else schema.load(obj) , Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 723, in load Alice | data, many=many, partial=partial, unknown=unknown, postprocess= True Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag es/marshmallow/schema.py", line 904, in _do_load Alice | raise exc Alice | marshmallow.exceptions.ValidationError: {'recipientKeys': {0: ['Val ue did:key:z6MkiFgbKBcDTsCuje7XqwrZRTfASj1dHNEZvu WD9bMwSSu6 is not in W3C did:k ey format']}} Alice | Alice | The above exception was the direct cause of the following exception |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Alice | |||||||||||||||||||||||||||||||||||||||
Alice | Traceback (most recent call last): | ||||||||||||||||||||||||||||||||||||||
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag |
es/aiohttp/web_protocol.py", line 433, in _handle_request
Alice | resp = await request_handler(request)
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/aiohttp/web_app.py", line 504, in _handle
Alice | resp = await handler(request)
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/aiohttp/web_middlewares.py", line 117, in impl
Alice | return await handler(request)
Alice | File "/home/indy/aries_cloudagent/admin/server.py", line 173, in
ready_middleware
Alice | return await handler(request)
Alice | File "/home/indy/aries_cloudagent/admin/server.py", line 210, in
debug_middleware
Alice | return await handler(request)
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/aiohttp_apispec/middlewares.py", line 34, in validation_middleware
Alice | schema["schema"], request, locations=schema["locations"]
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/webargs/asyncparser.py", line 90, in parse
Alice | result = schema.load(parsed)
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/marshmallow/schema.py", line 723, in load
Alice | data, many=many, partial=partial, unknown=unknown, postprocess=
True
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/marshmallow/schema.py", line 861, in _do_load
Alice | unknown=unknown,
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/marshmallow/schema.py", line 669, in _deserialize
Alice | index=index,
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/marshmallow/schema.py", line 493, in _call_and_store
Alice | value = getter_func(data)
Alice | File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packag
es/marshmallow/schema.py", line 662, in
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/runpy.py", line 193, in
_run_module_as_main
"main", modspec)
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/runpy.py", line 85, in
run_code
exec(code, run_globals)
File "/home/indy/demo/runners/alice.py", line 244, in
Server got itself in trouble
A timeout exception on the Admin URL: http://host.docker.internal:8021/status occurs upon starting the Faber demo at the The Alice/Faber Python demo step.
Repro steps:
./manage start --logs
./run_demo faber
And you will receive the following error:
The agent begins to start, starts the webhook, and creates a DID, and then begins shutting down the agent.