Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Connection Associated with Incoming Message After DID Rotation #2182

Open
tipusinghaw opened this issue Feb 7, 2025 · 2 comments
Open

Comments

@tipusinghaw
Copy link

I am working on migrating a specific tenant from a shared multi-tenant wallet to a dedicated wallet using askar-tools-typescript. I successfully decoupled the tenant and attempted to rotate the DID to maintain communication with an existing connection.
To achieve this, I made modifications to getDidDocumentForCreatedDid,added this to resolve external DIDs.It only checks in the local did repository instead of resolving a did.
After implementing this change, DID rotation worked successfully. However, when attempting to communicate with the older connection, the message is received at the new location, but this error is occurred no connection is associate the incoming message.

Upon reviewing the logic, I believe additional modifications are required to properly handle connection resolution post-DID rotation. I would be happy to contribute a fix with proper guidance and clarification.

@genaris
Copy link
Contributor

genaris commented Feb 13, 2025

Hey @tipusinghaw , is it possible for you to share some code to make it simpler for us to understand the context and the changes you had to do?

@tipusinghaw
Copy link
Author

Thank you for your response, @genaris. To reproduce this issue, I need to perform multiple steps, so I will create a script for that. In the meantime, I have a screenshot of the issue that might be helpful.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants