You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ECONNRESET: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch() #60620
(on Windows use curl.exe and NUL instead of /dev/null)
You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know when you're done.
These existing issues may already cover your problem (ordered from most to least likely):
@prontok same problem in Russia
I've checked next:
desktop client work well at 1.9.5 version but failed on 2.2.0. Few reinstallations steps - 1.9.5 have no problem, may be used as workaround.
opening opencode.ai in chrome failed but page well getted by curl from command line. Curl version curl 8.13.0 (Windows) libcurl/8.13.0 Schannel zlib/1.3.1 WinIDN
Talking with other LLMs I got that most probability is TLS HelloClient message that are filtered by DPI. But anyway 1.9.5 work well it would be good to revert back how opencode client work with TLS from 1.9.5
We're closing this for now because we haven't heard back. We still need the details we asked for (OpenCode version, OS, where the error appears, provider and model, when it started, and the curl check) to tell which cause of this ECONNRESET error you're hitting.
If you're on a network in Russia and this started around Oct 29–30, #60399 most likely covers your problem, and workarounds are discussed there.
If it's still happening and #60399 doesn't fit, reply here with those details or open a new issue, and we'll take another look. Thanks!
Activity
opencodejr commentedon Oct 30, 2026
Thanks for the report, and sorry OpenCode isn't working for you.
This error has several possible causes, so we need a few details to work out which one you're hitting:
opencode --version, or the version shown in the desktop app), your operating system, and how you installed OpenCode.opencode run. Does it happen on every message or only sometimes?curl.exeandNULinstead of/dev/null)You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know when you're done.
These existing issues may already cover your problem (ordered from most to least likely):
curlstill works. Workarounds are discussed there.kleinar commentedon Oct 30, 2026
prontok commentedon Oct 30, 2026
Tell me please, on whose side is the blocking taking place? From the OpenCode or from the Russia country ?
mosinnik commentedon Oct 30, 2026
@prontok same problem in Russia
I've checked next:
Talking with other LLMs I got that most probability is TLS HelloClient message that are filtered by DPI. But anyway 1.9.5 work well it would be good to revert back how opencode client work with TLS from 1.9.5
prontok commentedon Oct 30, 2026
@mosinnik Thanks a lot
kleinar commentedon Oct 31, 2026
I’ll try an older version. It’s actually quite interesting that I can’t even access the official OpenCode website.
opencodejr commentedon Nov 2, 2026
We're closing this for now because we haven't heard back. We still need the details we asked for (OpenCode version, OS, where the error appears, provider and model, when it started, and the
curlcheck) to tell which cause of thisECONNRESETerror you're hitting.If you're on a network in Russia and this started around Oct 29–30, #60399 most likely covers your problem, and workarounds are discussed there.
If it's still happening and #60399 doesn't fit, reply here with those details or open a new issue, and we'll take another look. Thanks!