hyperledger-archives / aries-framework-go

Hyperledger Aries Framework Go provides packages for building Agent / DIDComm services.
https://wiki.hyperledger.org/display/ARIES/aries-framework-go
Apache License 2.0
240 stars 161 forks source link

error: failed to unpack msg from ws: unpack #3500

Open gouravvemula0 opened 1 year ago

gouravvemula0 commented 1 year ago

What I'm trying to do

Integrated web KMS provided by trustbloc to the aries rest agent and tried creating a new connection, it got stuck at "requested" state and this error showed up in the agent: error: failed to unpack msg from ws: unpack I actually want to use the web KMS as a common keystore for all the aries services running along with it so that I can route requests from one to another after connection establishment succeeds.

Expected result It should move from "requested" state to "completed" state and did:key of this connection should be retrievable by the other aries services

Actual result

error: failed to unpack msg from ws: unpack

sudeshrshetty commented 1 year ago

@gouravvemula0 would you be able to provide more details? There should be some underlying error in agent logs & also in web kms logs.

We have already used webkms in many places for DIDComm, you can refer integration tests in https://github.com/trustbloc/agent-sdk project.

Let me know if you need more details.