Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

bug: Attempt to connect to relay via transportOpen has stalled. Retryin #388

Closed
1 task done
meetkosiso opened this issue Jun 29, 2023 · 3 comments · Fixed by #384
Closed
1 task done

bug: Attempt to connect to relay via transportOpen has stalled. Retryin #388

meetkosiso opened this issue Jun 29, 2023 · 3 comments · Fixed by #384

Comments

@meetkosiso
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

2.0.0

Current Behavior

After upgrading to wallet connect v2, our website shows Attempt to connect to relay via transportOpen has stalled. Retryin each time the website is loaded and wallet is connected, however,
Screenshot_2023-06-29_164629
this was not the case with wallet connect v1

Expected Behavior

I expect this error not to be shown on the console when the website is loaded or when a wallet is connected.

Steps To Reproduce

  1. Upgrade to wallet connect v2
  2. Try to load the website or connect your wallet after loading the website
  3. Go to the developer console of your browser.

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)

No response

Anything else?

No response

@ignaciosantise
Copy link

hey @meetkosiso 👋 this error usually happens when a a VPN/ISP block .com urls, and our default relay url is wss://relay.walletconnect.com

  • Are you using a VPN? If so, can you try disabling it?
  • Do you know if your ISP is blocking .com domains?

Once #384 is merged:

  • the connection should automatically attempt to fall back to using wss://relay.walletconnect.org
  • you will be able to manually specify a relayUrl to override default behaviour

@tmm tmm transferred this issue from wevm/wagmi Jun 29, 2023
@tmm tmm closed this as completed in #384 Jun 29, 2023
@yumingvvv
Copy link

An error still occurs when the vpn is disabled

@ck256-2000
Copy link

started getting this issue on local host/hardhat instance. Scaffold ETH 2 framework

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

Successfully merging a pull request may close this issue.

4 participants