Skip to content
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

White Screen After Login on ChromeOs But Works on Windows #7015

Open
2 tasks done
sbbrl opened this issue Sep 30, 2024 · 10 comments
Open
2 tasks done

White Screen After Login on ChromeOs But Works on Windows #7015

sbbrl opened this issue Sep 30, 2024 · 10 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@sbbrl
Copy link

sbbrl commented Sep 30, 2024

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: ChromeOs
  • Remote OS: Ubuntu 24
  • Remote Architecture: amd64
  • code-server --version: 1.93.1
    3542bd1
    x64

Steps to Reproduce

  1. Running vs1.pyhub.wiki on ChromeOs Gives Blank Screen after login but works well when accessing from Windows

Expected

Dashboard of Code-Server

Actual

Blank White Screen

Logs

No response

Screenshot/Video

No response

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

I have other deployments of Code-Server too of V 1.89.1 which didnt show this blank screen and another 1.92.1 which showed blank screen/

@sbbrl sbbrl added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Sep 30, 2024
@sbbrl
Copy link
Author

sbbrl commented Sep 30, 2024

Its Deployed On AWS EC2 with http and https enabled , proxied using Nginx and certbot for ssl

@code-asher
Copy link
Member

Is it possible to open the browser console and paste the logs from there?

@sbbrl
Copy link
Author

sbbrl commented Oct 1, 2024

It's a library chromebook so i don't always have access to it , but I'll drop the logs when i do go there.

@sbbrl
Copy link
Author

sbbrl commented Oct 1, 2024

If anyone wants to check it out the password for vs1.pyhub.wiki is gittest i have another deployment which has the nginx settings without the servername and _ instead its : http://44.194.214.195 passwd is gittest if anyone wants to test these and find the problem it would be great.

@sbbrl
Copy link
Author

sbbrl commented Oct 1, 2024

@code-asher Error From Console : notebookWebviewPreloads.js:7 Uncaught SyntaxError: Unexpected token '{'
workbench.js:3 Uncaught SyntaxError: Unexpected token '{'

@sbbrl
Copy link
Author

sbbrl commented Oct 1, 2024

No any Errors on the Network requests evth else loads fine, works smooth on android , windows but having this issue in chromeOs but i have another installation of code-server on an arm64 cpu version V 1.89.1 , loading that works well.

@code-asher
Copy link
Member

Thank you! Usually these types of errors means the browser is out of date and VS Code is using some newer syntax that the browser does not understand. What version of Chrome is it using?

@code-asher
Copy link
Member

Although, it can also mean that the resource failed to load and it is loading something other than JavaScript. Might be worth it to check notebookWebviewPreloads.js in the browser console and see what the actual response for it is.

@sbbrl
Copy link
Author

sbbrl commented Oct 2, 2024

@code-asher i think It uses Chrome 93 Its an Old Chromebook from 2016 , Acer Chromebook 11 , Any way to get it to work ? because my another deployment of Code-Server V 1.89.1 works smoothly

@code-asher
Copy link
Member

Sorry for the delayed response. Unfortunately, VS Code targets newer browsers so it is largely out of our control. We did try to target earlier browsers, but there was a bug in the transpiler. Maybe in the future it will be possible to try forcing an older version again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants