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
When deploying open-source code offline, encountering the error message: "Unable to connect. Is the computer able to access the URL?" #9788
I used npm to package opencode-ai-1.1.28.tgz and opencode-linux-x64-1.1.28.tgz for offline deployment. My model service URL is 192.168.8.2:17432/v1, which is started using the vLLM method. I performed the installation on the server 192.168.8.251. After the installation was complete, starting OpenCode resulted in the error: "Unable to connect. Is the computer able to access the URL?". It is important to note that the two servers can communicate with each other.
error=BunInstallFailedError failed to install builtin plugin
The error I'm encountering is: "Unable to connect. Is the computer able to access the url?"
I've fixed my issue. Oh My OpenCode tries to update from GitHub on startup, and it fails to launch if the proxy is not enabled. Even when the proxy is enabled, it still throws errors on startup. It's best to disable Oh My OpenCode entirely.
Additionally, if the https_proxy environment variable is set but the proxy itself is not turned on, the same problem will occur.
If you’re in network-restricted environments, I’d use OpenCode Sentinel — this project includes built-in support for offline dependency configuration, enabling one-click installation of all required dependencies without any network access 👍👍.
Also, it cuts all network access except to your LLM, so it works flawlessly in network-restricted environments.
This can happen if the server crashes, is just starting, etc. In most even semi-serious deployments, the server would restart automatically, so it would be nice if opencode would retry here.
I've encountered the same problem. Once the AI starts using the GLOB tool, it throws this error. Is there a way to use OpenCode in an offline environment?
I've encountered the same problem. Once the AI starts using the GLOB tool, it throws this error. Is there a way to use OpenCode in an offline environment?
@wind-rain-sky - In my environment, it turned out the problem for GREP/GLOB error was a lack of rg (ripgrep deb package). - There was an unsuccessful attempt to call the tool. Then, it looks like, some faulty error handler was accessing the network, resulting in this vague message. After rg installation there were no more errors in offline environment.
Reacted by Mika Sun, Ultimanecat, Dong, majestichou, 雨悸, Liang7 and kennyliu
Activity
github-actions commentedon Jan 21, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if your specific case differs, but these issues cover similar offline deployment scenarios with local model services.
1dao commentedon Jan 21, 2026
error=BunInstallFailedError failed to install builtin plugin
wxy119-119 commentedon Jan 21, 2026
1dao commentedon Jan 21, 2026
this is backend error,ui tips is : Unable to connect. Is the computer able to access the URL
1dao commentedon Jan 21, 2026
INFO 2026-01-21T08:34:08 +0ms service=bun cmd=["C:\software\OpenCode\opencode-cli.exe","add","--force","--exact","--no-cache","--cwd","C:\Users\xx\.cache\opencode","opencode-anthropic-auth@0.0.9"] cwd=C:\Users\makiv.cache\opencode running
INFO 2026-01-21T08:34:08 +34ms service=bun code=1 stdout=bun add v1.3.5 (1e86cebd)
stderr=Resolving dependencies
Resolved, downloaded and extracted [6]
error: ConnectionRefused downloading package manifest @opencode-ai/plugin
done
1dao commentedon Jan 21, 2026
I've fixed my issue. Oh My OpenCode tries to update from GitHub on startup, and it fails to launch if the proxy is not enabled. Even when the proxy is enabled, it still throws errors on startup. It's best to disable Oh My OpenCode entirely.
Additionally, if the https_proxy environment variable is set but the proxy itself is not turned on, the same problem will occur.
wxy119-119 commentedon Jan 22, 2026
I've resolved the issue. The error no longer occurs after I rolled back to version 1.1.21.
OneOfLzx commentedon Jan 22, 2026
If you’re in network-restricted environments, I’d use OpenCode Sentinel — this project includes built-in support for offline dependency configuration, enabling one-click installation of all required dependencies without any network access 👍👍.
Also, it cuts all network access except to your LLM, so it works flawlessly in network-restricted environments.
Repo: https://github.com/oneoflzx/opencode-sentinel
lee-b commentedon Jan 27, 2026
This can happen if the server crashes, is just starting, etc. In most even semi-serious deployments, the server would restart automatically, so it would be nice if opencode would retry here.
TyGu1 commentedon Jan 29, 2026
Edit: Resolved by simply restarting IDE
Having the same problem.
LLM parameters are fine, i cross checked credentials with continue, there it works.
Setting log-level to DEBUG and enable logging gives me:
`AKS:xxx ~ took 5s
❯ opencode --print-logs
INFO 2026-01-29T15:46:02 +368ms service=default version=1.1.42 args=["--print-logs"] opencode
INFO 2026-01-29T15:46:02 +2ms service=config path=/home/xxx/.config/opencode/config.json loading
INFO 2026-01-29T15:46:02 +1ms service=config path=/home/xx/.config/opencode/opencode.json loading
INFO 2026-01-29T15:46:02 +2ms service=config path=/home/xxx/.config/opencode/opencode.jsonc loading
AKS:xx ~ took 9s AKS:lwm ~ took 5s
❯ opencode --print-logs
INFO 2026-01-29T15:46:02 +368ms service=default version=1.1.42 args=["--print-logs"] opencode
INFO 2026-01-29T15:46:02 +2ms service=config path=/home/xxx/.config/opencode/config.json loading
INFO 2026-01-29T15:46:02 +1ms service=config path=/home/xxx/.config/opencode/opencode.json loading
INFO 2026-01-29T15:46:02 +2ms service=config path=/home/xxx/.config/opencode/opencode.jsonc loading
AKS:xx~ took 9s `
jakiechris commentedon Jan 30, 2026
same issue when i try to open web page of "opencode serve"
wind-rain-sky commentedon Jan 31, 2026
I've encountered the same problem. Once the AI starts using the GLOB tool, it throws this error. Is there a way to use OpenCode in an offline environment?
Gdimitron commentedon Feb 2, 2026
@wind-rain-sky - In my environment, it turned out the problem for GREP/GLOB error was a lack of
rg(ripgrep deb package). - There was an unsuccessful attempt to call the tool. Then, it looks like, some faulty error handler was accessing the network, resulting in this vague message. Afterrginstallation there were no more errors in offline environment.github-actions commentedon Apr 4, 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.