-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Cannot reconnect. Please reload the window. #1884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you post the output from code-server? Usually this is because VS Code is crashing and the output should explain why. |
Sometimes I think this can happen if using a reverse proxy that isn't set up to handle websockets as well. |
|
Is happening to me too, I'm on Catalina and latest code-server master/raw. Compiled successfully, and except some issue where if I don't see errors in my server' logs, and the client (ui) is saying that the WebSocke the token is invalid... |
Interesting, it looks like only the extension host is crashing then. Is there anything in the VS Code logs? Should be in Are y'all building and running on the same machine or building on one machine and then running on another? Could be some kind of libc issue. |
Hi, this the output on a fresh raw/mainstream:
|
I'm building and running on the same machine |
Ahhh found the issue, thank you both for reporting and debugging. Will have a fix soon. |
I pushed a fix, please let me know if it works. Thanks again! |
I confirm that it fixed the issue! Thank you! |
@code-asher I built code-server with yarn per the guide and I was running into this recurring “Cannot connect. Please reload the window” error message. It seems to be working now though so nothing to report. I lost the logs (so I don’t know if it was the same cause) because I have it running in a docker container that I’ve rebuilt a few times since seeing the error. I’ll post logs if I see the issue again. I have this running on a Raspberry Pi 4b in a docker container with https running on top of the Ubuntu Eoan image. It took a while to figure out the right OS that would be compatible with everything but it’s working great now. I only wish the Microsoft’s Remote Containers extension was allowed and that scrolling would work from the Magic Keyboard’s trackpad on the iPad Pro. Thanks for the great work! |
code-server --version
: 3.4.1When I build release package following the steps from CONTRIBUTING.md and try to run release-standalone/code-server I have the same situation as here: #1227 - the server runs and I can access it from the browser, but basically I cannot do anything because after a second or two I get "Cannot reconnect. Please reload the window." error.
Browser console:
The text was updated successfully, but these errors were encountered: