Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Chrome
- Local OS: Windows
- Remote OS: Docker
- Remote Architecture: Docker Image
code-server --version
: 4.9.1
Steps to Reproduce
-
docker run -d -it --name code-server -p 8080:8080
-v "/home/docker/code-server/config:/home/coder/.config"
-v "/home/docker/code-server:/home/coder/project"
-u "$(id -u):$(id -g)"
-e "DOCKER_USER=$USER"
codercom/code-server:4.9.1 -
open chrome http://${ip}:8080
-
find the config.yaml, and enter the password
-
it shows
The workbench failed to connect to the server (Error: WebSocket close with status code 1006)
and again and agin reload, i can`t use it
Expected
Not show
The workbench failed to connect to the server (Error: WebSocket close with status code 1006)
And use the IDE
Actual
Page shows
The workbench failed to connect to the server (Error: WebSocket close with status code 1006)
Logs
File not found: /usr/lib/code-server/lib/vscode/extensions/git-base/dist/browser/extension.js
File not found: /usr/lib/code-server/lib/vscode/extensions/emmet/dist/browser/emmetBrowserMain.js
File not found: /usr/lib/code-server/lib/vscode/extensions/merge-conflict/dist/browser/mergeConflictMain.js
Screenshot/Video
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
No response