Skip to content

[Bug]: Screen keeps white #5631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
dayaftereh opened this issue Oct 8, 2022 · 10 comments
Closed
4 tasks done

[Bug]: Screen keeps white #5631

dayaftereh opened this issue Oct 8, 2022 · 10 comments
Labels
waiting-for-info Waiting for more information from submitter

Comments

@dayaftereh
Copy link

dayaftereh commented Oct 8, 2022

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 terminal becomes unresponsive after socket disconnect #1 SMP PREEMPT Thu Jul 21 13:37:12 +07 2022 aarch64 GNU/Linux
  • Remote Architecture: arm64
  • code-server --version: 4.7.0 7f108c6 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.

@dayaftereh dayaftereh added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Oct 8, 2022
@jsjoeio
Copy link
Contributor

jsjoeio commented Oct 10, 2022

What happens if you access vis HTTP?

@jsjoeio jsjoeio added waiting-for-info Waiting for more information from submitter and removed bug Something isn't working triage This issue needs to be triaged by a maintainer labels Oct 10, 2022
@dayaftereh
Copy link
Author

@jsjoeio I also tried HTTP, but with the same result, the screen keeps white. Maybe something with security, because in a incognito window everything works.

@dayaftereh
Copy link
Author

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.

@jsjoeio
Copy link
Contributor

jsjoeio commented Oct 10, 2022

The used chrome browser is the same 106.0.5249.79 (Offizieller Build) (32-Bit) and every think works as expected.

Interesting...well i'm happy you found a solution! Can we close this?

@dayaftereh
Copy link
Author

Well i would like to use code-server on my android tablet and not on my phone.

@jsjoeio
Copy link
Contributor

jsjoeio commented Oct 10, 2022

Oh I misunderstood. Are there any logs in the Browser Console that you can share? I'm not sure about the white screen still 🤔

@dayaftereh
Copy link
Author

Hey. The browser console is empty as i showed on the screenshot above. I connected my table to a computer and used USB debugging from the computers chrome. I reloaded multiple times(with preserve logs), but console was still empty with no messages. The second screenshot shows the loaded resources, I'm not sure if something is missing.

@jsjoeio
Copy link
Contributor

jsjoeio commented Oct 13, 2022

This is very strange...The only thing I can think of is bad SSL certificates or your browser rejecting them and failing to load the app entirely. Any ideas @code-asher ?

@code-asher
Copy link
Member

code-asher commented Oct 13, 2022 via email

@dayaftereh
Copy link
Author

I found no issue at all on loading and skipped using the table with code-server. I close the issue, maybe in the future someone find a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-info Waiting for more information from submitter
Projects
None yet
Development

No branches or pull requests

3 participants