Extension host terminated unexpectedly
See original GitHub issuecode-server
version: Latest 1.408-vsc1.32.0- OS Version: Linux VM, Chrome 73.0.3683.86
Description
Tired to open the developer console in chrome. Lost connection to the socket and keeps on trying again and again.


It looks like working fine in local setup.

Please find the attachments for more details.
Steps to Reproduce
- Deploy your code-server in Gcloud
- Try to open your developer console (CMD + Shift + c)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Receiving error message 'Extension host terminated ...
I keep getting this error "Extension host terminated unexpectedly." and I have tried removing all of my extensions, reinstalling the program ...
Read more >Extension host terminated unexpectedly -- clean install, latest ...
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in...
Read more >Extension Host - Visual Studio Code
The Visual Studio Code Extension Host is responsible for managing extensions and ensuring the stability and performance of Visual Studio Code.
Read more >"Extension host terminated unexpectedly" & can't use html ...
If you are not able to use html shortcuts or you can't get html boilerplate directly by pressing " ! and Tab "...
Read more >Anyone else repeatedly getting the error "Remote Extension ...
Anyone else repeatedly getting the error "Remote Extension host terminated unexpectedly 3 times within the last 5 minutes" (rendering VS Code ...
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 noticed that this issue goes away upon specifying the data directory.
./code-server --data-dir /root/code-server
works fine but without the--data-dir
argument code-server crashes within a few minutes of launch.We have a fix for the socket disconnects, but it looks like the disconnects here were a result of the terminal spawn error. Thanks for reporting!