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

[bug] Connection declined when using the wagmi Safe connector #3134

Open
ravirasadiya opened this issue Oct 22, 2024 · 2 comments
Open

[bug] Connection declined when using the wagmi Safe connector #3134

ravirasadiya opened this issue Oct 22, 2024 · 2 comments
Labels
bug Something isn't working needs review

Comments

@ravirasadiya
Copy link

Link to minimal reproducible example

https://github.com/paintoshi/web3modal-next-test/tree/main

Summary

Summary
The safe connector from wagmi/connectors always saying "Connection declined, Connection can be declined if a previous request is still active". Tested on mobile too, served from a validated wallet connect domain and with the Safe mobile app installed, but it says the same thing. I would expect it to use the Safe wallet just as it uses Metamask.

image

I made a minimal next.js app where you can click connect, then Safe to see the issue. Just have to yarn install and yarn dev to run it.

List of related npm package versions

"@reown/appkit": "^1.0.4",
"@reown/appkit-adapter-wagmi": "^1.0.4",
"viem": "^2.21.14",
"wagmi": "^2.12.14",

@ravirasadiya ravirasadiya added bug Something isn't working needs review labels Oct 22, 2024
@AnesBkdm
Copy link

Same issue here, both in Wagmi and Ethers in Expo.

@Huzitatuguharu
Copy link

I am experiencing similar issues when trying to connect on mobile using Ethers.js

List of related npm package versions

"@reown/appkit": "^1.2.1",
"@reown/appkit-adapter-ethers": "^1.2.1",
"ethers": "^6.13.4",
"next": "^14.2.15",

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

No branches or pull requests

4 participants
@ravirasadiya @AnesBkdm @Huzitatuguharu and others