remix-starter
remix-starter copied to clipboard
Error: Can't establish a connection to the server
Steps to Reproduce
npx create-remix@latest --template partykit/remix-starternpm run dev- Open browser console
Description
The browser console displays web socket errors when initiating a newly created app. Upon the first opening, the app seems to connect, but sometimes when a second tab is opened to simulate a new user, the connection hangs and fails to update the user count. Subsequently, refreshing the page also results in a failed connection. No errors are shown in the terminal, only in the browser console. I am using Firefox (version below) but the errors are still present on Chrome as well.
Error Message
Environment
- Operating System: Windows 10
- Browser: Firefox Developer Edition 123.0b2
Huh, that's weird. I wonder if it's because it's on windows. Can you deploy it to the platform and tell me whether the problem persists even then?
Appreciate the super quick reply. I didn't think to do it before but I was able to reproduce the error on my Macbook with Chrome so not a Windows thing. It does only seem to be when in the dev environment. There were no errors when I ran npm run build / npm start nor when I ran npm run deploy.
I can confirm that it looks like this is a problem with firefox.
In fact, it even struggles to connect to remix' dev server for hot updates etc.
Has this been resolved?
This is still an issue for me