Blank page: error vscode Handshake timed out
See original GitHub issueOS/Web Information
- Web Browser: Google Chrome Version 89.0.4389.114 (Official Build) (64-bit)
- Local OS: Ubuntu 21.04
- Remote OS: Raspbian GNU/Linux 10 (buster)
- Remote Architecture: armv7l GNU/Linux
code-server --version
:3 .9.2
Steps to Reproduce
- SSH in to raspberry pi
- Run this
curl -fsSL https://code-server.dev/install.sh | sh
- Takes 22m usually
- Go to hosted site through local network, itās blank and in the logs it gives this error:
error vscode Handshake timed out {"token": "..."}
- It was working fine before the upgrade.
- Maybe you can also add some fresh install instructions.
Expected
Browser should show coder as usual
Actual
Blank page.
Screenshot
Notes
This issue can be reproduced in VS Code: Yes/No
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:43 (15 by maintainers)
Top Results From Across the Web
Blank page: error vscode Handshake timed out Ā· Issue #3027
Go to hosted site through local network, it's blank and in the logs it gives this error: error vscode Handshake timed out {"token":...
Read more >Running code server on gcp cloud shell gives error when ...
To run the vscode.sh file using terminal: ./vscode.sh. If a warning āpermission deniedā comes, type chmod +x vscode.sh and then again proceedĀ ...
Read more >Error: handshake timeout (Blank Screen) : r/codeserver - Reddit
Error : handshake timeout (Blank Screen). Hey fellow coders, since this morning I'm only getting a blank page when opening code-server.
Read more >Remote Development Tips and Tricks - Visual Studio Code
Visual Studio Code Remote Development troubleshooting tips and tricks for SSH, Containers, and the Windows Subsystem for Linux (WSL)
Read more >VSCode Remote Development Keep Disconnecting Error ...
... great feature of VSCode but by default it disconnect after 15 minutes. In this video I will show you how to increase...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I found out that if I connect to my server through itās local IP then I donāt have any issues, but if I go to the domain name that I have pointed to my reverse proxy which does its magic and brings me to the code-server instance I get the blank screen. I can see the password screen just fine, but the actual app is blank.
I suddenly experienced the time out issue in my setup two days ago. Here is how I solved it.
Setup:
Besides the timeouts I also noticed that initializing a ssh connection took up to 10 seconds. After a quick web search pointed me towards not optimal/ compatible network settings with VPN. So I set the MTU settings of my local network adapter to 1200. Not only is ssh blazing fast now, but all code-server timeouts vanished.
So the timeouts are related to the network and not code-server itself. But I still have no clue, why my setup stopped working from one day to the otherā¦