Windows Desktop 2.0.23: socket connection closed unexpectedly during Console authentication
I maintainer di solito rispondono entro 1 giorno
@Hona ci sta già lavorando.
Dal 5/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 213k
- Fork
- 28.4k
- Merge medio
- 7h 50m
- PR unite (30g)
- 295
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di anomalyco/opencode
-
reproduced
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
anomalyco/opencode#54769 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
TUI crash: undefined is not an object (evaluating 'r.text.feedback[t.toast.variant].base')Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertareproduced
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
anomalyco/opencode#54762 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
anomalyco/opencode#54757 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
anomalyco/opencode#54714 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug(ui): V2 AnimatedNumber exposes animation digits and reversed reading order to screen readersForse già presa @argszero l’ha presa oggi. Apertareproduced
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
anomalyco/opencode#54653 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di anomalyco/opencode
Issue simili
-
Bayern feature:Application ready web
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
digitalfabrik/entitlementcard#3176 ·
I maintainer di solito rispondono entro 7 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NanmiCoder/cc-haha#1533 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
🐛 Bug: Calendar work items cannot be opened on mobileForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100