Windows Desktop 2.0.23: socket connection closed unexpectedly during Console authentication
Maintainer thường phản hồi trong vòng 1 ngày
@Hona đang làm issue này rồi.
Từ ngày 5/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 215k
- Fork
- 28.9k
- Merge trung bình
- 11 giờ 19 phút
- Pull request đã merge (30 ngày)
- 320
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của anomalyco/opencode
-
pending close triaging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#57209 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
reproduced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
anomalyco/opencode#57127 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending close triaging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
anomalyco/opencode#57070 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Plan mode leave reminder becomes the final user turn after a tool-driven agent switch, models refuseCó thể đã có người làm @Veld101 đã nhận 1 ngày trước. Đang mởreproduced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#57013 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
anomalyco/opencode#56891 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của anomalyco/opencode
Issue tương tự
-
area:editor bug issue-form:bug P0 platform:windows review: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
1lck/Lithe-IDEA#1388 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(api): isToolAuditEnabled swallows database read errors on auditToolOperations without loggingĐang mởarea: backend bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
snapotter-hq/SnapOtter#3238 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rig up --plan times out after 5 s and reports an UNKNOWN outcome while the daemon completes the planĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
filesystem: search_files does not expand non-wildcard excludePatterns like directory_tree doesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
modelcontextprotocol/servers#5216 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày