Firefox can’t establish a connection to the server at wss://.../api/0.14
I am frequently getting this the error in the title while developing with convex along with
6 Replies
@whoami if you send @presley your deployment name (like friendly-animal-123) we can dig into what was happening here. is it still an issue?
I’m not sure if it’s gone, I’ll keep monitoring it
now I got this again, I kept refreshing the page locally and got WebSocket closed unexpectedly with code 1006
and my log just shows waiting for new logs
Ok I just dm'ed @presley
WebSocket closed unexpectedly with code 1006 got this again
I have no idea what's going on
waiting it to automatically resolve on its own is painful 🥲
Firefox can’t establish a connection to the server at wss://clean-dinosaur-909.convex.cloud/api/0.14.0/sync.
@ian @presley I think i need to sort this out
This is quite strange. I assume the last occurrence happened around 4:45am PDT? I do not see anything interesting on the backend. All servers were up and running with no errors reported.
Just to confirm, you see those errors in the browser and it takes a while (many seconds or minutes) for the web socket to reconnect? Does this happen when you open a new tab or existing tab suddenly disconnects? What happens if you open the another tab or use another browser?
I think it lasts for a few minutes, during that period, I tried opening a new tab, restart with yarn dev, none of these reconnects the websocket. It typically happens when I walk away from my laptop for a few hours (I left my project open with yarn dev)
I think this should be some issue on the client side, I’ve seen a similar case in the discord channel, have you met anything like this?
There is one bug we have a fix for in the upcoming npm release. But it would not explain a connection from new tab not working.
Now I’m not sure if I opened up a new tab or just keep refreshing the page. What was the problem you have fix?
just got this again
firefox keeps notifying me the error after close / open tabs, then I tried Chrome and it works for me