Extension Host Process exited with code: 0, signal: null.

See original GitHub issue

OS/Web Information

  • Web Browser: Microsoft Edge 97.0.1072.55
  • Local OS: Windows 11 21H2
  • Remote OS: Ubuntu 20.04
  • code-server --version: 4.0.0

Steps to Reproduce

When NOT serving HTTPS, everything is OK. (except preview of markdown and PDF) But when serving HTTPS, a dozen of seconds after connected, Extension Host Process exited with code: 0, signal: null. will be reported and connection will be lost every time.

  1. modify ~/.config/code-server/config.yaml: cert: true
  2. run code-server --cert /etc/letsencrypt/live/www.wangruitang.xyz/fullchain.pem --cert-key /etc/letsencrypt/live/www.wangruitang.xyz/privkey.pem in terminal
  3. open https://www.wangruitang.xyz:9999/?folder=/home/wrt in the browser, after connected, wait a dozen of seconds, and Cannot Reconnect. Please reload the window. will appear in the browser. Then I have to reload the window every dozen of seconds.

Logs

[2022-01-14T06:36:11.137Z] info  code-server 4.0.0 0f395955515207f9b461ffdd2a595f35311dd05f
[2022-01-14T06:36:11.141Z] info  Using user-data-dir ~/.local/share/code-server
[2022-01-14T06:36:11.175Z] info  Using config file ~/.config/code-server/config.yaml
[2022-01-14T06:36:11.176Z] info  HTTPS server listening on https://0.0.0.0:8080/
[2022-01-14T06:36:11.177Z] info    - Authentication is enabled
[2022-01-14T06:36:11.178Z] info      - Using password from ~/.config/code-server/config.yaml
[2022-01-14T06:36:11.178Z] info    - Using certificate for HTTPS: /etc/letsencrypt/live/www.wangruitang.xyz/fullchain.pem
[14:36:17] Extension host agent started.
[14:36:20] [117.136.50.134][7ad15e85][ManagementConnection] New connection established.
[14:36:20] [117.136.50.134][96dde835][ExtensionHostConnection] New connection established.
[14:36:21] [117.136.50.134][96dde835][ExtensionHostConnection] <3119> Launched Extension Host Process.
[14:36:41] [117.136.50.134][96dde835][ExtensionHostConnection] The client has reconnected.
[14:37:02] [117.136.50.134][96dde835][ExtensionHostConnection] The client has reconnected.
[14:37:21] [117.136.50.134][96dde835][ExtensionHostConnection] <3119> Extension Host Process exited with code: 0, signal: null.
[14:37:23] [117.136.50.134][96dde835][ExtensionHostConnection] Unknown reconnection token (seen before).
[14:37:23] [117.136.50.134][7ad15e85][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:10
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
dmitriypavlovcommented, Jan 31, 2022

Same problem.

4reactions
wilcdrcommented, Jan 15, 2022

I get this same bug on 4.x. It is the same issue as reported here: https://github.com/coder/code-server/issues/4693

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extension host terminated unexpectedly. Code: 0 Signal
I have this problem with my VS code(V1.43.2). I keep getting this error 'Extension host terminated unexpectedly.' When I open the developer ...
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 >
Visual Studio Code Add-on - autocomplete not working
Log level is set to INFO [cont-init.d] 01-log-level.sh: exited 0. ... <572> Extension Host Process exited with code: 0, signal: null.
Read more >
VSCodium/Lobby
hi @seyeonakim -- vscodium uses the same bundle id as Code - OSS, ... <23812> Extension Host Process exited with code: 55, signal:...
Read more >
VSCode: Extension host terminated unexpectedly
However, I've started getting "Extension host terminated unexpectedly" every several ... Code: null Signal: SIGPIPE _onExtensionHostCrashed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found