500 VS Code failed to load
See original GitHub issueHello, I know that this issue has been reported a few other times, but I’m still having this issue and I’m not sure how to resolve. My node version seems to satisfy requirements.
OS/Web Information
- Web Browser: Chromium (Raspberry Pi)
- Local OS: macOS / iPad
- Remote OS: raspbian
- Remote Architecture:
code-server --version
: 3.9.3npm --version
: 6.14.4node --version
: v13.14.0code --version
: 1.56.0
Steps to Reproduce
- Install vscode with
aptyarn ->yarn add code-server
- Run with
code-server
$ which code-server
/home/pi/.yarn/bin/code-server
Expected
VSCode should start up after entering my password.
Actual
I enter my password, then I get the 500 error, VS Code failed to load. exited unexpectedly with code 0.
Logs
code-server --log debug
$ code-server --verbose
[2021-05-08T21:53:14.959Z] info code-server 3.9.3 fe2dc2deb08e378069891b622bb62ad1d261d1b1
[2021-05-08T21:53:14.961Z] info Using user-data-dir ~/.local/share/code-server
[2021-05-08T21:53:14.963Z] trace Using extensions-dir ~/.local/share/code-server/extensions
[2021-05-08T21:53:15.040Z] info Using config file ~/.config/code-server/config.yaml
[2021-05-08T21:53:15.042Z] info HTTP server listening on http://0.0.0.0:8081
[2021-05-08T21:53:15.043Z] info - Authentication is enabled
[2021-05-08T21:53:15.044Z] info - Using password from ~/.config/code-server/config.yaml
[2021-05-08T21:53:15.045Z] info - Not serving HTTPS
[2021-05-08T21:53:23.712Z] trace heartbeat
[2021-05-08T21:53:23.752Z] debug forking vs code...
[2021-05-08T21:53:25.747Z] error VS Code exited unexpectedly with code 0
Notes
This issue can be reproduced in VS Code: Yes/No
Hardware Info
$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM2711
Revision : c03111
Serial : 100000003f8957b8
Model : Raspberry Pi 4 Model B Rev 1.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
500 VS Code failed to load. Error: spawn /usr/lib/code-server ...
It seems this means you've hit a per-user process limit. You should be able to run ulimit to check the limit. You might...
Read more >What Is a "500 Internal Server Error" and How Do I Fix It?
This error means there is a problem on the server side. A server error can be caused by any number of things from...
Read more >Solution for Request failed with status code 500 (Internal ...
Solution for Request failed with status code 500 (Internal Server Error) in Visual Studio 2015/2017 · Close the VS program. · Go to...
Read more >How do I solve HTTP Error 500.0 - Internal Server Error
A 500 error is a generic error message and covers pretty much every single thing that can go wrong with a PHP script....
Read more >What Do I Do If Error Message "The VS Code Server failed to ...
Solution. Check whether the VS Code version is 1.65. 0 or later. If so, check the Remote-SSH version.
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
Great work @sameetandpotatoes 🙌 Glad you figured it out (and found a bug!). Like Asher said, we’ll go make sure to fix that so others don’t run into the same issue. Thanks again!
I opened https://github.com/cdr/code-server/issues/3458. I’ll go ahead and close this issue; nice find by the way!!