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
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I encountered an error when using opencode on a private network.It seems that opencode is trying to load resources from external networks during startup.
{
"name": "UnkownError",
"data": {
"message": "Error: The socket connection was closed unexpectedly. For more information, pass verbose:true in the second argument to fetch()"
}
}
Can make opencode run independently in a private network? With specific externel LLM API ports forward through proxy like nginx, preveventing opencode from communicating with other exeternal networks during startup.
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 👍👍
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 errorhttp_proxyEnvironment Variable is Set #7155: [Bug] OpenCode Crashes on Launch Whenhttp_proxyEnvironment Variable is SetFeel free to ignore if none of these address your specific case.
lzy19990121-tech commentedon Jan 16, 2026
I've met this problem too. Opencode is requiring model list from https://models.dev, which is not reachable in private network.
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
Moler1995 commentedon Jan 22, 2026
Great,I'll try it.
navieSimple commentedon Mar 6, 2026
mark