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
Congratulations on releasing 0.7.0.
With this, we are testing askar features.
I encountered connection error occasionally, and below is the situation.
Faber sub-wallet is created with wallet_type askar.
Alice sub-wallet is created with wallet_type askar.
Do Faber-Alice demo (connection, issue, proof), and delete Alice sub-wallet.
(no public invitation)
I did Step 2 and 3 repeatedly.
A connection error occurred once in 5 times.
Specifically, when Faber Agent receives the connection request message from Alice, below logs printed.
2021-07-16 16:43:01,981 aiohttp.server ERROR Error handling request
Traceback (most recent call last):
File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/transport/pack_format.py", line 214, in get_recipient_keys
protected = json.loads(b64decode(message_dict["protected"]))
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/base64.py", line 87, in b64decode
return binascii.a2b_base64(s)
binascii.Error: Incorrect padding
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/baegjae/venv/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/Users/baegjae/venv/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/transport/inbound/http.py", line 105, in inbound_message_handler
inbound = await session.receive(body)
File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/transport/inbound/session.py", line 218, in receive
await self.handle_relay_context(payload_enc)
File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/transport/inbound/session.py", line 165, in handle_relay_context
[wallet] = await multitenant_mgr.get_wallets_by_message(
File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/multitenant/manager.py", line 481, in get_wallets_by_message
recipient_keys = wire_format.get_recipient_keys(message_body)
File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/transport/pack_format.py", line 219, in get_recipient_keys
raise RecipientKeysError(
aries_cloudagent.transport.error.RecipientKeysError: ('Error trying to extract recipient keys from JWE', Error('Incorrect padding'))
I hope the below log values will be useful.
Log value of message_dict["protected"] in the normal case:
Congratulations on releasing 0.7.0.
With this, we are testing
askar
features.I encountered connection error occasionally, and below is the situation.
wallet_type
askar.wallet_type
askar.(no public invitation)
I did Step 2 and 3 repeatedly.
A connection error occurred once in 5 times.
Specifically, when Faber Agent receives the connection request message from Alice, below logs printed.
I hope the below log values will be useful.
Log value of
message_dict["protected"]
in the normal case:Log value of
message_dict["protected"]
in the error case:The text was updated successfully, but these errors were encountered: