Unable to connect. Is the computer able to access while using List tool
model: local glm4.6 model deployed by vllm. OS: Ubuntu 22.04 working dir: /root/project user: root opencode version: 1.0.193 node.js version: 24.12.0
tell me about the project structure root
I'll explore the project structure to understand what we're working with. → List . Unable to connect. Is the computer able to access the url?
List tool unable to connect .
This issue might be a duplicate of existing issues. Please check:
- #5344: OllamaError: Unable to connect - same connection error message with Ollama provider
- #5945: [FEATURE]: Display the exact url opencode is failing to connect to - requests more detailed error messages for connection failures
- #4689: list tool returns empty directory for readable hidden directories - similar issue with list tool returning empty results
- #2205: Custom commands fail when (even unused) provider is in config file - connection error related to provider configuration
- #3989: acp-command unhandled rejection - proxy and connection issues with Unable to connect error
- #5427: Issues while connecting with github copilot - SSL certificate issues and connection failures with models.dev
The error "Unable to connect. Is the computer able to access the url?" occurs in multiple contexts:
- When using local models (Ollama, vLLM) with connection issues
- When network conditions prevent proper access to model endpoints
- When SSL/certificate issues block connections
- With proxy/firewall configurations
Feel free to ignore if none of these address your specific case.
I'm getting this error after asking my first question, but I'm not sure how to inspect which URL it's referring to?
为什么opencode 不打印一下 连接哪个url 异常 ,让用户猜吗? Why doesn't the opencode print which URL it's connecting to when there's an exception? Should we make users guess?
I'm getting this error after asking my first question, but I'm not sure how to inspect which URL it's referring to?
为什么opencode 不打印一下 连接哪个url 异常 ,让用户猜吗? Why doesn't the opencode print which URL it's connecting to when there's an exception? Should we make users guess?
Edit: Simple restart of IDE actually worked.
Having the same problem. LLM parameters are fine, i cross checked credentials with continue, there it works.
Version 1.1.40; 1.1.42
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 `
The error "Unable to connect. Is the computer able to access the url?" occurs in multiple contexts:
When using local models (Ollama, vLLM) with connection issues --> No When network conditions prevent proper access to model endpoints --> no. tested in continue. When SSL/certificate issues block connections --> Usage on non-corporate infrastructure. With proxy/firewall configurations --> Usage on non-corporate infrastructure.
Last time it worked was yesterday night ~15 hours ago. Rolled back to 1.1.40; did not resolve error.
By accident reported on the local model usage post (but using azure openai), therefore potential double post.
I faced similar problem while using Grep and Glob tool. I solved in this way:
Both Grep and Glob tools depend on Ripgrep. When ripgrep is not installed, the tool automatically downloads it from GitHub:
// ripgrep.ts line 147-150
const response = await fetch(url) // url = https://github.com/BurntSushi/ripgrep/releases/...
Root cause: Network failure when downloading ripgrep from GitHub.
Solution:
1. Install ripgrep manually: brew install ripgrep (macOS) or apt install ripgrep (Linux)
2. Or ensure your network can access github.com
Run rg --version to check if ripgrep is installed.
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.