Skip to content

No matching key. keychain error #4122

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

Open
Lbqds opened this issue Jan 11, 2024 · 3 comments
Open

No matching key. keychain error #4122

Lbqds opened this issue Jan 11, 2024 · 3 comments
Labels
type: bug Something isn't working

Comments

@Lbqds
Copy link

Lbqds commented Jan 11, 2024

Describe the bug
WalletConnect throws No matching key. keychain error when sending a request

SDK Version (if relevant)

  • @walletconnect/core: "2.11.0"
  • @walletconnect/sign-client: "2.11.0"

To Reproduce
The issue occurs with a relatively low probability, and I'm not sure if there are reliable steps to reproduce it.

Additional context
When the user refreshes the dApp web page, we use the last session to automatically connect. It turns out that the session exists but the keychain does not exist, resulting in the No matching key. keychain error when sending the request. I suspect the problem is here(although I'm not entirely sure), where delete is a promise. Do we need to wait for the deletion session to complete before deleting the keychain?

Btw, since the keychain is very important for the session, does it make sense to check if both the session and keychain exist when initializing the SignClient?

@Lbqds Lbqds added the type: bug Something isn't working label Jan 11, 2024
@1997roylee
Copy link

no one solving it?

@clemente-xyz
Copy link

Any solution? Having the same error

@AJShahAgha
Copy link

How to solve??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants