question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Screen keeps white

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: 106.0.5249.79 (Offizieller Build) (32-Bit)
  • Local OS: Android 12; SM-T505 Build/SP1A.210812.016
  • Remote OS: termux: Linux localhost 5.4.0-faked #1 SMP PREEMPT Thu Jul 21 13:37:12 +07 2022 aarch64 GNU/Linux
  • Remote Architecture: arm64
  • code-server --version: 4.7.0 7f108c61ab670ccaae4cfde5de2909c003db1ce8 with Code 1.71.0

Steps to Reproduce

  1. Install via nvm described in code-server/termux.md
  2. Starting code-server
  3. Open chrome at https://127.0.0.1:8080

Expected

Code-server should open the workspace

Actual

The screen keeps to be white.

Logs

root@localhost:~# code-server --log trace
Trace: [2022-10-08T21:17:07.273Z] trace child:23950 got message {"message":{"type":"handshake","args":{"bind-addr":"127.0.0.1:8080","auth":"none","password":"d0ae68507ed5a51da70b41d2","cert":{"value":"/root/.local/share/code-server/localhost.crt"},"cert-key":"/root/.local/share/code-server/localhost.key","config":"/root/.config/code-server/config.yaml","log":"trace","user-data-dir":"/root/.local/share/code-server","extensions-dir":"/root/.local/share/code-server/extensions","verbose":true,"host":"127.0.0.1","port":8080,"proxy-domain":[],"_":[],"usingEnvPassword":false,"usingEnvHashedPassword":false}}}
    at doLog (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:57:28)
    at ServerFormatter.doWrite (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:204:9)
    at ServerFormatter.write (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:119:14)
    at Logger.handle (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:339:25)
    at Logger.trace (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:268:14)
    at process.onMessage (/usr/lib/code-server/out/node/wrapper.js:72:47)
    at process.emit (node:events:390:28)
    at emit (node:internal/child_process:917:12)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)
[2022-10-08T21:17:07.291Z] info  code-server 4.7.0 7f108c61ab670ccaae4cfde5de2909c003db1ce8
[2022-10-08T21:17:07.292Z] info  Using user-data-dir ~/.local/share/code-server
Trace: [2022-10-08T21:17:07.292Z] trace Using extensions-dir ~/.local/share/code-server/extensions
    at doLog (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:57:28)
    at ServerFormatter.doWrite (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:200:20)
    at ServerFormatter.write (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:119:14)
    at Logger.handle (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:339:25)
    at Logger.trace (/usr/lib/code-server/node_modules/@coder/logger/out/logger.js:268:14)
    at /usr/lib/code-server/out/node/main.js:121:21
    at Generator.next (<anonymous>)
    at /usr/lib/code-server/out/node/main.js:31:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/lib/code-server/out/node/main.js:27:12)
[2022-10-08T21:17:07.445Z] info  Using config file ~/.config/code-server/config.yaml
[2022-10-08T21:17:07.446Z] info  HTTPS server listening on https://127.0.0.1:8080/
[2022-10-08T21:17:07.446Z] info    - Authentication is disabled
[2022-10-08T21:17:07.446Z] info    - Using certificate for HTTPS: ~/.local/share/code-server/localhost.crt

Screenshot/Video

Screenshot_20221008-232326_Chrome Unbenannt Unbenannt2

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

I’m using code-server with termux on debian and installed as described in code-server/termux.md.

I open it on my android tablet ( SM-T505) but the screen keeps to be white. I connected a remote debugger, but the console is empty and all resources are loaded.

Interesting is that code-server opens in a incognito window, but not in a normal frame or as pwa(added to start screen). I’m using a self signed certificate for https.

I also tried verion 4.7.1, but same result.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
code-ashercommented, Oct 13, 2022

I have no good theories but maybe open those network requests and make sure the content looks correct? For example workbench.web.main.js, workbench.js, etc.

Since it works in incognito could also try checking that “disable cache” box in devtools just in case it is a caching issue.

If none of that helps it will just have to be debugged step by step by someone.

1reaction
dayafterehcommented, Oct 10, 2022

I started the code-server with --host 0.0.0.0 and opened the code-server with my android phone. The used chrome browser is the same 106.0.5249.79 (Offizieller Build) (32-Bit) and every think works as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

white screen mesh - Amazon.com
Magic Mesh Deluxe- White- Hands Free Magnetic Screen Door, Mesh Curtain Keeps Bugs Out, Frame Hook & Loop, Hands Free, Pet & Kid...
Read more >
White screen bug, page 1 - Forum - GOG.com
I have updated the game via Galaxy client and the bug is gone now. As far as I understand it was caused by...
Read more >
Fortnite White Screen Bug - What Is It and How to Fix
The White Screen bug fills the whole screen in a white color. Some players have reported that they are seeing their screens on...
Read more >
White screen bug. : r/TheSilphRoad - Reddit
This is how to fix white screen without restarting the app. Click furiously at the top of the screen (avoid opening the pokeball...
Read more >
[bug] my screen is white after i launch the game
What are the steps to reproduce the issue as you experienced: i changed the gamma and brightness and then it just went white....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found