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
When i use opencode in private network,
{
"name": "UnknownError",
"data": {
"message": "Error: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()"
}
}
If you’re on a private network, I’d use OpenCode Sentinel — it cuts all network access except to your LLM, so it works flawlessly in network-restricted environments 👍👍
Activity
github-actions commentedon Jan 16, 2026
This issue might be a duplicate of existing issues. Please check:
verbose: truein the second argument to fetch() #8580: linux 启动报错 The socket connection was closed unexpectedly - Exact same socket connection errorFeel free to ignore if none of these address your specific case.
OneOfLzx commentedon Jan 22, 2026
If you’re on a private network, I’d use OpenCode Sentinel — it cuts all network access except to your LLM, so it works flawlessly in network-restricted environments 👍👍
Repo: https://github.com/oneoflzx/opencode-sentinel
github-actions commentedon Mar 28, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.