VelzV
Convex Community16mo ago
32 replies
Velz

App stuck reconnecting via websocket

Hi folks,
I have been migrating my pet project over to convex and everything has been smooth so far.

However, all of the sudden, my app (react) no longer seems to be able to connect to the dashboard via websocket. It keeps trying to "sync" in the network tab (see screenshot) but it never succeeds connecting, just stuck in an infinite loop of re-trying.

Here's response headers from one of the connection attempts:
HTTP/1.1 101 Switching Protocols
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: http://localhost:5173
Connection: upgrade
Date: Fri, 20 Sep 2024 02:08:28 GMT
Sec-Websocket-Accept: xMcIagumTDTLcHkxakqzc/BYzVo=
Upgrade: websocket
Vary: origin, access-control-request-method, access-control-request-headers


Not sure how to troubleshoot. I even attempted to re-create the project but no luck.

Thanks in advance!
Screenshot_2024-09-19_at_10.06.59_PM.png
Was this page helpful?