-
Notifications
You must be signed in to change notification settings - Fork 5.9k
The workbench failed to connect to the server (Error: WebSocket close with status code 1006) #4763
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
I have the same problem if I try to update from 3.12.0 to 4.0.1. I tried to clean the folder |
in notes: Can be reproduced across versions 3.12.0, 3.6.2, 3.9.1 and 4.0.1 |
See fix in original post |
Hi, |
@Lamerys feel free to start a new Q and A discussion and we'll see if we can help you! |
Thank you. All sorted, just needed to activate websocket via Nginx panel. |
Fix
added the following lines to my site's .conf in /etc/nginx/sites-available :
✅
OS/Web Information
code-server --version
: 4.0.1Steps to Reproduce
Expected
Code server should open and run on a fresh install. This is a new install of code-server and I think it's attempting to load extensions from the old install that have not been installed yet. I had tried to move the install location under bad stack overflow advice and ever since it's not been working correctly
Actual
Repeatedly reloads page and immediately throws same exception. Again, this is a new install of code-server and I think it's attempting to load extensions from the old install that have not been installed yet. I had tried to move the install location under bad stack overflow advice and ever since it's not been working correctly
Logs Screenshot
Notes
Once again, this is a new install of code-server and I think it's attempting to load extensions from the old install that have not been installed yet. I had tried to move the install location under bad stack overflow advice and ever since it's not been working correctly. Can be reproduced across versions 3.12.0, 3.6.2, 3.9.1 and 4.0.1. Webserver config: Nginx reverse proxy with Oauth2-proxy default config and google oauth 2.0
This issue can be reproduced in VS Code: No
The text was updated successfully, but these errors were encountered: