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

Error: WebSocket connection failed for host: wss://relay.walletconnect.org #4318

Open
Quadrizzz opened this issue Mar 12, 2024 · 11 comments
Open
Labels
type: bug Something isn't working

Comments

@Quadrizzz
Copy link

Quadrizzz commented Mar 12, 2024

I am using web3 modal on my react app which uses wallet connect, it was working previously but now when I try to connect to the app I get an error this error in my browser console "Error: WebSocket connection failed for host: wss://relay.walletconnect.org", I did some research and someone mentioned that it might be because of a missing project id but my project id is in the code so I can't seem to find what is wrong with it. I will appreciate any help I can get.

SDK Version (if relevant)
Js
v2

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://react-wallet.walletconnect.com/
  2. you can also check here by clicking connect wallet https://web3modal.com/
  3. Just on page load you will get an alert of the same error

Expected behavior
It should load the walletconnect modal but that is not happening

Desktop (please complete the following information):

  • OS: Windows
  • Browser edge

Smartphone (please complete the following information):

  • Device: iPhone 11
  • OS: iOS 16.3.1
  • Browser: Safari, Chrome
@Quadrizzz Quadrizzz added the type: bug Something isn't working label Mar 12, 2024
@glitch-txs
Copy link
Member

Hi, are you still experiencing this? where are you located?

@Quadrizzz
Copy link
Author

Quadrizzz commented Apr 8, 2024 via email

@jessejay247
Copy link

try using a vpn to change your location and try again.

@Quadrizzz
Copy link
Author

Quadrizzz commented Apr 13, 2024 via email

@Quadrizzz
Copy link
Author

Quadrizzz commented Apr 13, 2024 via email

@jessejay247
Copy link

update your packages, Wagmi core, connector

@hanwong
Copy link

hanwong commented Apr 16, 2024

Does location matter much?
I got a lot of same situation when i try to request signing on iOS mobile browsers, but i was no matter when i have tried on android mobile.

@Quadrizzz
Copy link
Author

Quadrizzz commented Apr 16, 2024 via email

@Cuardiper
Copy link

Cuardiper commented Apr 23, 2024

Some of my users are receiving this error too....Big part of the user base connecting from Nigeria.
We need a solution for that :(

@Fearless09
Copy link

I am experiencing the same error too but when I use a VPN, it works fine. Please is there a way to resolve this error without VPN??

@ConfidenceYobo
Copy link

I am also having this issue.
Everything was working fine before but suddenly stopped working. Now when I open my local development project on the browser I get this error message immediately the page loads ERROR WebSocket connection failed for host: wss://relay.walletconnect.org at f.emitError (http://localhost:3000/static/js/bundle.js:37767:31) at i.onerror (http://localhost:3000/static/js/bundle.js:37735:16).

Then if you try to connect with trustwallet or walletconnect you get a popup message that says "declined".
I think the trust wallet shouldn't use walletconnect API but rather injector or trustwallet extension if it exists.

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

7 participants