Failed to Connect to Relayer error
Overview
If you encounter the WalletConnect error:
Failed to connect to relayer
it usually means your network connection is blocking or throttling the WebSocket relay service that WalletConnect uses. Using a VPN can help bypass these network restrictions. This guide walks you through installing and activating NordVPN, one of the most reliable VPN services, on your desktop or mobile device.
Prerequisites
- A valid NordVPN subscription. If you don't have one yet, sign up at NordVPN.
- Administrative rights on your computer or device.
1. Download NordVPN
- Desktop (Windows/macOS/Linux)
- Mobile (iOS/Android)
- Visit the NordVPN Downloads page and choose your operating system.
- Click Download.
- Open the App Store (iOS) or Google Play Store (Android).
- Search for NordVPN.
- Tap Install.
2. Install NordVPN
Windows/macOS/Linux
- Locate the downloaded installer file (
.exe
on Windows,.dmg
on macOS, or package manager instructions on Linux). - Run the installer and follow the on-screen prompts.
- Once installed, launch the NordVPN application.
iOS/Android
- The app installs automatically after download.
- Open the NordVPN app from your home screen.
3. Activate NordVPN
- On the first launch, you will see a login screen.
- Enter your NordVPN account email and password.
- Complete any two-factor authentication (2FA) if you have it enabled.
- Upon successful login, you'll see the NordVPN dashboard.
4. Connect to a VPN Server
- In the NordVPN dashboard, click Quick Connect to connect to the fastest available server.
- Alternatively, choose a specific country or specialty server from the server list.
- Wait until the status changes to Connected and displays a new IP address.
Tip: For the best WalletConnect performance, choose a server location near your region to minimize latency.
5. Retry WalletConnect
- Return to your dApp.
- Attempt to connect your wallet again.
- The VPN-encrypted tunnel should now allow the WebSocket connection to the relayer.
Note: While this guide uses NordVPN as an example, you can use any reputable VPN provider to resolve WalletConnect connection issues.