[bug] Got "No matching key, history: 1662323434234" while disconnecting after refresh the page using wallet connect
Is there an existing issue for this?
- [X] I have searched the existing issues
RainbowKit Version
1.0.4
wagmi Version
1.3.4
Current Behavior
After connecting via WalletConnect & refreshing the page, it throws this error when i try to disconnect
Able to disconnect before refreshing the page
Any idea to at least catch this error and handle it softly? i tried using a try catch when calling the disconnect() but the page still crashes
Expected Behavior
Able to disconnect without throwing an error
Steps To Reproduce
- Connect via WalletConnect
- Refresh the page
- Disconnect after refresh
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
Running into this as well
Also running into No matching key. keychain <some alphanumeric value here>
Full stack trace:
Error: No matching key. keychain: <some alphanumeric value here>
at this.get(./node_modules/@walletconnect/core/dist/index.es.js:1:16678)
at this.decode(./node_modules/@walletconnect/core/dist/index.es.js:1:18736)
at this.decode(./node_modules/@walletconnect/core/dist/index.es.js:1:18798)
at <anonymous>(./node_modules/@walletconnect/core/dist/index.es.js:1:47319)
at ReflectApply(./node_modules/@walletconnect/core/dist/index.es.js:1:47537)
at EventEmitter.prototype.emit(./node_modules/events/events.js:158:1)
at index_es_Ot.onMessageEvent(./node_modules/@walletconnect/core/dist/index.es.js:1:36928)
This seems to be coming from WalletConnect, but more specifically it seems to be caused by how @walletconnect/ethereum-provider is used (based on this comment)?
This is noticeably reproducible for us in incognito mode, and prevents loading up WalletConnect and Rainbow wallets from the Connect Wallet modal. Coinbase and Metamask seem to work fine.
The latest version of Wagmi includes upgraded versions of WalletConnect that seem to be more stable. Let me know if you're still seeing this problem.
Yes @DanielSinclair , still getting this issue with latest rainbowkit 1.0,7 and wagmi 1.3.9
Yes @DanielSinclair , still getting this issue with latest rainbowkit 1.0,7 and wagmi 1.3.9
I am also getting same error with latest version
I tried clearing my local storage of react app and it worked for me.
are there any updates on this issue? if not could some one tell me where I could at least catch the error?
facing same issues aswell ! any update on this ?
same error here w/ the latest
"@rainbow-me/rainbowkit": "^1.0.8",
"wagmi": "^1.3.10"
Hi everyone this was discussed here. And it seems to be an issue related to the wallet implementation side.
