Skip to content

500 VS Code failed to load #3325

@sameetandpotatoes

Description

@sameetandpotatoes

Hello, 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.3
  • npm --version: 6.14.4
  • node --version: v13.14.0
  • code --version: 1.56.0

Steps to Reproduce

  1. Install vscode with apt yarn -> yarn add code-server
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions