WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.3k stars 650 forks source link

{context: 'core'} {context: 'core/relayer'} Error: WebSocket connection closed abnormally with code: 3000 (JWT validation error: JWT Token is not yet valid) #4391

Closed yellowCrimsonGator closed 2 months ago

yellowCrimsonGator commented 5 months ago

Describe the bug It takes a while for wallet connect modal to appear when executing openWeb3Modal from web3modal package If you take a look ath the console you can see the following errors appear

{context: 'core'} {context: 'core/relayer'} 
Error: WebSocket connection closed abnormally with code: 3000
(JWT validation error: JWT Token is not yet valid): basic.iat: 1712137804, now + time_leeway: 1712137786, time_leeway: 120)

SDK

"@web3modal/ethereum": "2.6.2",
"@web3modal/react": "2.6.2",

To Reproduce Steps to reproduce the behavior:

  1. Go to aurora.plus
  2. Click on 'Connect Wallet' and maybe it ll be reproduced

Expected behavior Modal should appear on first click

Screenshots

Screenshot 2024-04-03 at 14 30 23

Desktop (please complete the following information):

linear[bot] commented 5 months ago

CS-38 {context: 'core'} {context: 'core/relayer'} Error: WebSocket connection closed abnormally with code: 3000 (JWT validation error: JWT Token is not yet valid)

yellowCrimsonGator commented 5 months ago
Screenshot 2024-04-05 at 19 18 57
yellowCrimsonGator commented 5 months ago

Maybe we should bump the dependencies or smth like that

VigM-Figure commented 5 months ago

This is very likely due to your system time being incorrect. Check your computer settings. I can recreate if I set my time into the future, and it is solved when the time is correctly set back to sync.