-
Notifications
You must be signed in to change notification settings - Fork 664
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] <title>Error: Attempt to connect to relay via transportOpen
has stalled. Retrying...
#1333
Comments
Same here |
hey @linghuccc 👋 Are you using a VPN? If so, can you try disabling it? Also, if you are in China, try using this relay -> Hope it helps 🙏 |
Inquiring with the WalletConnect team about this. If you hone in on certain network conditions that cause this (like a VPN or specific region), let me know! |
Yes, I am in China and using VPN. Below is the error message after I disabled VPN. I am not sure how to configue relay, but according to the error message, it seems that wss://relay.walletconnect.org has already been used, right? |
Yes, I am using VPN as replied in above post. |
Errr... I am not sure if it was due to VPN residual effect or what. After I tried the second time some time later, it seems to be OK. (VPN disabled) My question is whether it is possible to develop under VPN environment. As you know, we cannot even visit Youtube if VPN is disabled. I am counting on that to learn Next JS. Thank you. |
Wow, I am not sure what happened. Did you guys just make some changes? I turned on my VPN and the rainbowKit still seems to be working. Hope this lasts. |
hey, I have the same issue. And your example does not works on mobile |
@linghuccc the issue comes from the VPN. Good to know it works now 🎉 root problem is that some VPN/ISP block .com urls, and our default relay url is Our latest release uses And we also created a PR in Wagmi to expose a way to override the relay url. |
@neurodim i tested your sandbox and it's working for me. Are you in China/using a VPN? |
Adding to @ignaciosantise's points above, once these changes are released in wagmi:
Part of the issue may be when a VPN connection is toggled on/off with a websocket connection already established, thus changing the underlying network conditions while the socket continues to behave as if it's connected. |
Check this out, think we found the reason here: https://github.com/orgs/WalletConnect/discussions/2835 Basically, these plugins cause the websocket to be stalled: '@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-private-methods', |
same issue here. Is there a way to handle this error and maybe display a toast describing the problem to user? |
Is there an existing issue for this?
RainbowKit Version
1.0.4
wagmi Version
1.3.2
Current Behavior
Error: Attempt to connect to relay via
transportOpen
has stalled. Retrying...Expected Behavior
No error expected.
Steps To Reproduce
Start a brand new project by running command: npm init @rainbow-me/rainbowkit@latest. After installation, update projectId in _app.tsx file. Then run command: npm run dev. Below error occurred.
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: