Skip to content

Remote Extension host terminated unexpectedly 3 times within the last 5 minutes. #7246

@JiaY-shi

Description

@JiaY-shi

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: macOS
  • Remote OS: debian testing
  • Remote Architecture:
  • code-server --version: amd64

Steps to Reproduce

Expected

The extension function should work normally

Actual

Currently, when I open code-server, the extended functions cannot be used normally and it always prompts that it is closed. I mainly use git-related functions.

Logs

[TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    --- property 'issuerCertificate' closes the circle
	at JSON.stringify (<anonymous>)
	at tE (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:29:114967)
	at ei.serializeRequestArguments (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:29:122949)
	at Uy.U (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:29:119189)
	at s.<computed>.n.charCodeAt.s.<computed> (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:29:116531)
	at file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:117:679
	at file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:7:96
	at Array.forEach (<anonymous>)
	at SP.c (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:7:84)
	at SP.onUnexpecte
2025-03-04 16:32:16.268 [info] [127.0.0.1][6946608c][ExtensionHostConnection] <48594><stderr> dError (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:7:259)
	at ft (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:7:546)
	at process.<anonymous> (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:190:14445)
	at process.emit (node:events:518:28)
	at process._fatalException (node:internal/process/execution:188:25)]

Node.js v20.18.1

2025-03-04 16:32:16.276 [info] [127.0.0.1][6946608c][ExtensionHostConnection] <48594> Extension Host Process exited with code: 7, signal: null.
2025-03-04 16:32:16.391 [error] [127.0.0.1][6946608c][ExtensionHostConnection] Unknown reconnection token (seen before).
2025-03-04 16:32:16.544 [info] [127.0.0.1][b83f00f1][ExtensionHostConnection] New connection established.
2025-03-04 16:32:16.547 [info] [127.0.0.1][b83f00f1][ExtensionHostConnection] <48797> Launched Extension Host Process.

logs

[16:37:21] [127.0.0.1][6fdb3f2c][ExtensionHostConnection] Unknown reconnection token (seen before).
[16:37:28] [127.0.0.1][68ff3a5e][ExtensionHostConnection] Unknown reconnection token (seen before).
[16:37:35] [127.0.0.1][935e1dc6][ExtensionHostConnection] Unknown reconnection token (seen before).
File not found: /usr/lib/code-server/lib/vscode/node_modules/vsda/rust/web/vsda_bg.wasm
File not found: /usr/lib/code-server/lib/vscode/node_modules/vsda/rust/web/vsda_bg.wasm
File not found: /usr/lib/code-server/lib/vscode/node_modules/vsda/rust/web/vsda.js
[16:39:39] [127.0.0.1][2e8541ad][ExtensionHostConnection] Unknown reconnection token (seen before).
[16:39:42] [127.0.0.1][2286d501][ExtensionHostConnection] Unknown reconnection token (seen before).
[16:39:46] [127.0.0.1][0cc2ce3f][ExtensionHostConnection] Unknown reconnection token (seen before).
File not found: /usr/lib/code-server/lib/vscode/node_modules/vsda/rust/web/vsda_bg.wasm

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

This cannot be tested in native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions