Skip to content

White Screen After login #7212

Closed as not planned
Closed as not planned

Description

@hammadsalim

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Windows 11 Pro
  • Remote OS: Linux (OpenMediaVault/Portainer)
  • Remote Architecture: (x86)
  • code-server --version: latest image pulled today - 19.02.2025

Steps to Reproduce

  1. Login using the password
    2.Blank Screen

Expected

Code Server Home Screen

Actual

Blank screen after login page.

Image

Logs

───────────────────────────────────────

User UID:    1000

User GID:    1000

───────────────────────────────────────

Linuxserver.io version: 4.97.2-ls255

Build-date: 2025-02-18T19:43:23+00:00

───────────────────────────────────────

    

setting up sudo access

setting sudo password using SUDO_PASSWORD env var

New password: Retype new password: passwd: password updated successfully

[custom-init] No custom files found, skipping...

[2025-02-19T12:42:18.149Z] info  code-server 4.97.2 34b8d2ed69811c3315a465f01492e9448c9254aa

[2025-02-19T12:42:18.150Z] info  Using user-data-dir /config/data

[2025-02-19T12:42:18.162Z] info  Using config file /config/.config/code-server/config.yaml

[2025-02-19T12:42:18.162Z] info  HTTP server listening on http://0.0.0.0:8443/

[2025-02-19T12:42:18.162Z] info    - Authentication is enabled

[2025-02-19T12:42:18.162Z] info      - Using password from $PASSWORD

[2025-02-19T12:42:18.163Z] info    - Not serving HTTPS

[2025-02-19T12:42:18.163Z] info    - Proxying the following domain:

[2025-02-19T12:42:18.163Z] info      - {{port}}.code-server.my.domain

[2025-02-19T12:42:18.163Z] info  Using proxy URI in PORTS tab: //{{port}}.code-server.my.domain

[2025-02-19T12:42:18.163Z] info  Session server listening on /config/data/code-server-ipc.sock

Connection to 127.0.0.1 8443 port [tcp/*] succeeded!

[ls.io-init] done.

[12:42:25] 

[12:42:25] Extension host agent started.

Screenshot/Video

Image

Does this bug reproduce in native VS Code?

I did not test native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Activity

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

    @l3arcf

    My remote OS is clear linux, but the same experience. Rolling back was a good initial workaround for me. I am using "auth: password" in my config, and wonder if that has anything to do with the issue.

  3. geometa commented on Feb 19, 2025

    @geometa

    remote os debian,is same problem

  4. fnandomaia commented on Feb 19, 2025

    @fnandomaia

    Same error here after update my 3 VPS.
    All of them is not working now.
    Same blank screen.

    • Ubuntu 22.04.5 LTS
    • Ubuntu 22.04.5 LTS
    • Ubuntu 24.04.2 LTS

    Even trying to completely remove code-server and installing a previous version, it is not working properly.
    Solution for now is back to version 4.96.4.
    Command:
    curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.96.4

  5. cdeschenes commented on Feb 19, 2025

    @cdeschenes

    Host system Ubuntu with docker install of Code-Server. Got the white screen after the latest update (Linuxserver.io version: 4.97.2-ls255). I disabled all plugins and get the same white screen.

  6. vxplore commented on Feb 19, 2025

    @vxplore

    I also have same issue

  7. vxplore commented on Feb 19, 2025

    @vxplore

    Solved
    with
    curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.96.2

  8. vxplore commented on Feb 19, 2025

    @vxplore

    It seems that the latest have some issue

  9. zigarot commented on Feb 19, 2025

    @zigarot

    for what it's worth, I'm not using authentication on my local network, also the same issue (white screen), running in docker, watchtower updated it this morning and suddenly no go.

    ───────────────────────────────────────
    Linuxserver.io version: 4.97.2-ls255
    Build-date: 2025-02-18T19:43:23+00:00
    ───────────────────────────────────────
        
    [custom-init] No custom files found, skipping...
    starting with no password
    [2025-02-19T23:43:40.345Z] info  code-server 4.97.2 34b8d2ed69811c3315a465f01492e9448c9254aa
    [2025-02-19T23:43:40.361Z] info  Using user-data-dir /config/data
    [2025-02-19T23:43:40.378Z] info  Using config file /config/.config/code-server/config.yaml
    [2025-02-19T23:43:40.378Z] info  HTTP server listening on http://0.0.0.0:8443/
    [2025-02-19T23:43:40.378Z] info    - Authentication is disabled
    [2025-02-19T23:43:40.378Z] info    - Not serving HTTPS
    [2025-02-19T23:43:40.378Z] info  Session server listening on /config/data/code-server-ipc.sock
    Connection to 127.0.0.1 8443 port [tcp/*] succeeded!
    [ls.io-init] done.
    [09:43:42] 
    [09:43:42] Extension host agent started.
    

    Have resolved currently via editing my docker compose in the image section:

    services:
      code-server:
        image: lscr.io/linuxserver/code-server:4.96.4
        container_name: code-server
    
  10. keepcraft-go commented on Feb 20, 2025

    @keepcraft-go

    As mentioned above, if you specify the version and install it, you can use it normally without any issues.
    There seems to be an issue with the recently released version.

    VERSION=4.96.4
    curl -fsSL -o code-server.deb "https://github.com/coder/code-server/releases/download/v4.96.4/code-server_4.96.4_amd64.deb"
    sudo dpkg -i code-server.deb

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

  12. benz0li commented on Feb 20, 2025

    @benz0li
    Contributor

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

    Originally posted by @vcantrell in #7211

  13. code-asher commented on Feb 20, 2025

    @code-asher
    Member

    Ah interesting. So to summarize, the problem is caused by "cannot read properties of undefined (reading 'bind')" in uuid.ts, which is calling crypto.randomUUID.bind(crypto).

    For web crypto functions to be undefined, code-server would have to be loaded in an insecure context. It looks like in 1.97.0 the VS Code folks changed this function to always use web crypto instead of conditionally, so now it errors: microsoft/vscode@8ad5ac5

    I am not sure if they would consider this a bug (my guess is they would say an insecure context is not supported since there are other features they use that also require a secure context like service workers), but I will close this issue for now since it is from VS Code itself.

  14. code-asher commented on Feb 20, 2025

    @code-asher
    Member

    Actually, turns out there is an upstream issue we can follow, looks like it is considered a regression and will be fixed? microsoft/vscode#240334

  15. benz0li commented on Feb 20, 2025

    @benz0li
    Contributor

    Actually, turns out there is an upstream issue we can follow, looks like it is considered a regression and will be fixed? microsoft/vscode#240334

    @code-asher Great find!

    Thanks for the clarification.

  16. suse-coder commented on Mar 3, 2025

    @suse-coder

    I have the same issue

  17. code-asher commented on Mar 6, 2025

    @code-asher
    Member

    Should be fixed once the update with 1.98.0 comes out, hopefully today.

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