Windows Desktop 2.0.23: socket connection closed unexpectedly during Console authentication
メンテナーはふだん 1 日以内に返信
@Hona がすでに取り組んでいます。
2026年10月5日 から。
評価
この issue はまだ評価されていません。
説明
Description
OpenCode Desktop 2.0.23 on Windows cannot complete the Console/Device authentication flow.
When trying to connect OpenCode Go / log in with a different account, the authentication flow waits for authorization and then fails with:
Error: Could not reach POST https://opencode.ai/console/auth/device/token. This failed before the server returned an HTTP response.
The OpenCode Desktop log also shows:
failed to load OpenCode provider config
Transport error (GET https://opencode.ai/console/api/v2/config)
cause="TypeError: The socket connection was closed unexpectedly."
Environment
- OS: Windows
- OpenCode Desktop: 2.0.23
- Installed standalone CLI: 1.18.34
- OpenCode Go provider
- Network connection is working normally
- No proxy environment variables are configured
Network tests
curl -I https://opencode.ai
returns:
HTTP/1.1 200 OK
Also:
curl -v https://opencode.ai/console/auth/device/token
successfully establishes the TLS connection and receives:
HTTP/1.1 404 Not Found
The 404 is expected because curl sends GET, while the authentication endpoint uses POST. The important point is that the connection to opencode.ai itself succeeds.
Additional information
The problem occurs inside OpenCode Desktop's HTTP client. The socket is closed unexpectedly when Desktop tries to access:
https://opencode.ai/console/api/v2/config
and the device authentication endpoint also fails before receiving an HTTP response.
Please investigate whether this is a Windows/Desktop 2.0.23 networking or HTTP client issue, particularly with the Console authentication/config endpoints.
I can provide the exported OpenCode logs if needed.
- 主要言語
- TypeScript
- スター
- 212k
- フォーク
- 28.1k
- 平均マージ
- 10時間 15分
- マージ済み PR(30日)
- 389
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anomalyco/opencode のほかの issue
-
Windows: global-project session path depends on server process drive, hides API-created sessions from desktop picker対応中かも @1624318455 が 13 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[FEATURE]: Test that PermissionV2 declines pending requests when its scope closes対応中かも @saeedahmed96 が 10 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
EffectFlock heartbeat never refreshes, so locks held over 60 s can be broken対応中かも @iceteaSA が 13 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
anomalyco/opencode#51159 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
anomalyco/opencode の issue をすべて見る
似ている issue
-
bug DUP Reservations
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bcgov/reserve-rec-public#952 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
daufderheide/racecoordinator_ai#948 ·
メンテナーはふだん 1 日以内に返信
-
Bug pulumi/pulumi
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug priority:high
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
api bug claude
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
diegosouzapw/OmniRoute#15764 ·
メンテナーはふだん 2 日以内に返信