code-server: Terminal stuck in Starting...
Hi
A couple of our users have reported issues when they’re on flaky networks in India (ping packet loss 5-10%) that the terminal is stuck in “Starting…”.
Is there anything that can be done for code-server to work in these conditions?
Thanks!
- Web Browser: Chrome
- Local OS: Windows/Linux/Mac
- Remote OS: Ubuntu 18.04
- Remote Architecture: Kubernetes via Nginx
code-server --version: 3.4.1
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 16 (3 by maintainers)
“terminal.integrated.inheritEnv”: true solve the problem. Somehow, when opening the codeserver page, “terminal.integrated.inheritEnv” option is unchecked, and caused terminal stucked in starting
In my case, I found that this problem is due to using linux service file without specifying working directory. So I guess it got some permission problem. After I specified
WorkingDirectoryfor the service, the problem was resolved.share the method i resolve the bug:
step1. delete the file: ~/.local/share/code-server/User/settings.json
step2. restart the code-server
Done.
I’m experiencing this locally in a Docker container. I was getting the error
open '/proc/0/status': Error: ENOENT: no such file or directory, open '/proc/0/status'when creating a new terminal window, but I believe that was because I didn’t have zsh installed in my container. After doing so, the terminal is still “Starting…”, and no log output occurs.