Skip to content

Accessing code-server docker container via Tailscale = white screen #7214

Closed as duplicate

Description

@DasKraut37

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: macOS
  • Remote OS: Synology NAS [Docker]
  • Remote Architecture: intel
  • code-server --version: 4.97.2

Steps to Reproduce

  1. Connecting to code-server over tailscale = white screen
  2. Connecting to code-server over host-ip:8443 works fine
  3. Connecting to code-server over reverse proxy also works

Expected

To be able to use code-server over a tailscale connection. All other services on this host work through tailscale, just not code-server.

Actual

I get a white screen. No login screen, nothing. Just a white screen.

Image

Logs

In the browser console, I only see one error:

uuid.ts:13 Uncaught TypeError: Cannot read properties of undefined (reading 'bind')
    at uuid.ts:13:61
(anonymous)    @    uuid.ts:13

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

This cannot be tested in native VS Code

Does this bug reproduce in GitHub Codespaces?

This cannot be tested in GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

I'm running tailscale in a docker container with network_mode: host. I can connect to any other service on my host via tailscale except for code-server, where I just get a white screen. I found several other people reporting similar problems with this, but every post ends with no solution.

I can connect to code-server using the host ip or through reverse proxy with no issues. But for some reason, I get a white screen when trying to use tailscale to connect, which is how I would prefer to connect to this.

Any help?

Activity

  1. added
    bugSomething isn't working
    triageThis issue needs to be triaged by a maintainer
    on Feb 20, 2025
  2. Nik71git commented on Feb 20, 2025

    @Nik71git

    Version=4.96.4 doesn't help?

  3. DasKraut37 commented on Feb 20, 2025

    @DasKraut37
    Author

    Version=4.96.4 doesn't help?

    Yup! Rolled back to 4.96.4 and now it works. Is this a known bug that is being worked on?

  4. Nik71git commented on Feb 20, 2025

    @Nik71git

    It seems to be...

  5. benz0li commented on Feb 20, 2025

    @benz0li
    Contributor

    [...] I do see some base path stuff we could likely optimize so I will check that out.

    Originally posted by @code-asher in #7199 (comment)

    Maybe this is related to the base path changes in https://github.com/coder/code-server/pull/7199/files#diff-aa0960eacc2ec0a027a3e50ce898c5361569abb97e6ac10ca0a87f3fa1c21683

  6. LiuLinyun commented on Feb 20, 2025

    @LiuLinyun

    I got the same bug, It can be connected, but opened with a white screen, no welcome page and menus.

  7. benz0li commented on Feb 20, 2025

    @benz0li
    Contributor

    @DasKraut37 Which Docker image are you using?

  8. DasKraut37 commented on Feb 20, 2025

    @DasKraut37
    Author

    @DasKraut37 Which Docker image are you using?

    Using the LSIO image.

  9. benz0li commented on Feb 20, 2025

    @benz0li
    Contributor

    Please be aware that the image of this repository is codercom/code-server and not linuxserver/code-server.

    Please open issues regarding linuxserver/code-server at https://github.com/linuxserver/docker-code-server/issues.

  10. benz0li commented on Feb 20, 2025

    @benz0li
    Contributor

    [...] apparently insecure connections are now just not supported.

    Originally posted by @vcantrell in #7211

  11. code-asher commented on Feb 20, 2025

    @code-asher
    Member

    Looks like a duplicate of #7212. It also looks like the VS Code team is planning on fixing it.

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