Skip to content

[Bug]: The workbench failed to connect to the server #6014

Description

@JonSmall

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

  1. 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

  2. open chrome http://${ip}:8080

  3. find the config.yaml, and enter the password

  4. 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

888888

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions