Unable to connect. Is the computer able to access while using List tool #3861

Open
opened 2026-02-16 17:41:42 -05:00 by yindo · 5 comments
Owner

Originally created by @pandaominggz on GitHub (Dec 25, 2025).

Originally assigned to: @rekram1-node on GitHub.

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 .

Originally created by @pandaominggz on GitHub (Dec 25, 2025). Originally assigned to: @rekram1-node on GitHub. 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 .
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2025):

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:

  1. When using local models (Ollama, vLLM) with connection issues
  2. When network conditions prevent proper access to model endpoints
  3. When SSL/certificate issues block connections
  4. With proxy/firewall configurations

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 25, 2025): 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: 1. When using local models (Ollama, vLLM) with connection issues 2. When network conditions prevent proper access to model endpoints 3. When SSL/certificate issues block connections 4. With proxy/firewall configurations Feel free to ignore if none of these address your specific case.
Author
Owner

@schell commented on GitHub (Dec 25, 2025):

I'm getting this error after asking my first question, but I'm not sure how to inspect which URL it's referring to?

@schell commented on GitHub (Dec 25, 2025): I'm getting this error after asking my first question, but I'm not sure how to inspect which URL it's referring to?
Author
Owner

@heming79 commented on GitHub (Jan 6, 2026):

为什么opencode 不打印一下 连接哪个url 异常 ,让用户猜吗?
Why doesn't the opencode print which URL it's connecting to when there's an exception? Should we make users guess?

@heming79 commented on GitHub (Jan 6, 2026): 为什么opencode 不打印一下 连接哪个url 异常 ,让用户猜吗? Why doesn't the opencode print which URL it's connecting to when there's an exception? Should we make users guess?
Author
Owner

@heming79 commented on GitHub (Jan 6, 2026):

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?

@heming79 commented on GitHub (Jan 6, 2026): > 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?
Author
Owner

@TyGu1 commented on GitHub (Jan 29, 2026):

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.

@TyGu1 commented on GitHub (Jan 29, 2026): 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3861