Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

remote extension host terminated unexpectedly 3 times within the last 5 minutes.

オープン
#7,907 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
node.js, typescript
領域
devtools

調査の方向性

Extensions の初期化中に code-server --verbose で失敗を再現し、続いて循環 JSON シリアライズエラーの周辺にある、ログに記録された lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js のエントリを調査します。サードパーティ製 Extensions を無効にした場合、および報告された各 workspace での動作を比較します。完了条件は、リモート拡張ホストが実行を継続し、Extensions が繰り返し終了されることなく初期化されることです。

索引モデルが issue の本文から書いたものです。

説明

bug needs-investigation triage
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: Tried both Brave and Firefox
  • Local OS: Windows 11, Fedora
  • Remote OS: Ubuntu 24.04
  • Remote Architecture: amd64
  • code-server --version: 4.130.0 197ef3e8da8ee99ed6ca8f1a630157527e6d448f with Code 1.130.0
Steps to Reproduce
  1. Open code-server in Brave/Firefox
  2. Let Extensions try to initialize
  3. Experience failure
Expected

Extensions should initialize without issue.

Actual

The failure happens all on its own.

Logs
`code-server --verbose` output

[TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    --- property 'issuerCertificate' closes the circle
        at JSON.stringify (<anonymous>)
        at L2 (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:435:106513)
        at Sr.serializeRequestArguments (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:435:116364)
        at i._remoteCall (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:435:112184)
        at r.<computed>.s.charCodeAt.r.<computed> (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:435:108829)
        at file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:541:157
        at file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:411:129
        at Array.forEach (<anonymous>)
        at N_.emit (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:411:117)
        at N_.onUnexpectedError (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:411:385)
        at je (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:411:694)
        at process.<anonymous> (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:852:11163)
        at process.emit (node:events:509:28)
        at process._fatalException (node:internal/process/execution:159:25)]

Node.js v24.18.0

[16:06:08] [127.0.0.1][b75cf46d][ExtensionHostConnection] <6324> Extension Host Process exited with code: 7, signal: null.
[16:06:08] ServerLifetime: consumer 'ExtensionHost:b75cf46d' inactive (total: 0)
[16:06:08] [127.0.0.1][b75cf46d][ExtensionHostConnection] - startParams language: en
[16:06:08] [127.0.0.1][b75cf46d][ExtensionHostConnection] - startParams env: {"VSCODE_PROXY_URI":"http://localhost:8880/proxy/{{port}}/"}
[16:06:08] [127.0.0.1][b75cf46d][ExtensionHostConnection] Unknown reconnection token (seen before).
[16:06:08] [File Watcher (node.js)] Request to stop watching: /srv/development/lynn.heavyelement.cloud/.git (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".hg/store/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>),/srv/development/lynn.heavyelement.cloud/.git/refs/remotes/origin/main (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".hg/store/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>),/srv/development/cobalt-core/.git (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/cobalt-core","pattern":".git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":".hg/store/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>),/srv/development/cobalt-core/.git/refs/remotes/origin/datamodel (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/cobalt-core","pattern":".git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":".hg/store/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>)
[16:06:08] [File Watcher (node.js)] stopping file watcher (/srv/development/lynn.heavyelement.cloud/.git (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".hg/store/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>))
[16:06:08] [File Watcher (node.js)] stopping file watcher (/srv/development/lynn.heavyelement.cloud/.git/refs/remotes/origin/main (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":".hg/store/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/lynn.heavyelement.cloud","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>))
[16:06:08] [File Watcher (node.js)] stopping file watcher (/srv/development/cobalt-core/.git (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/cobalt-core","pattern":".git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":".hg/store/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>))
[16:06:08] [File Watcher (node.js)] stopping file watcher (/srv/development/cobalt-core/.git/refs/remotes/origin/datamodel (excludes: /var/www/.local/share/code-server/extensions/**, includes: [{"base":"/srv/development/cobalt-core","pattern":".git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":".git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":".hg/store/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/objects/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.git/subtree-cache/**/**"},{"base":"/srv/development/cobalt-core","pattern":"*/.hg/store/**/**"}], filter: <none>, correlationId: <none>))
Screenshot/Video
Image
Does this bug reproduce in native VS Code?

I did not test native VS Code

Does this bug reproduce in VS Code web?

I did not test VS Code web

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

I looked up this specific issue and found this but the underlying issue seemed different and their solution didn't work for me.

I had a number of third party extensions installed including Intelephense. In diagnosing this issue I disabled all third party extensions and the problem still exists.

I've also tried with other workspaces and project directories.

主要言語
TypeScript
スター
79.4k
フォーク
6.9k
平均マージ
2日 13時間
マージ済み PR(30日)
39

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/code-server のほかの issue

coder/code-server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。