CLl无法正常启动 提示Unable to connect. Is the computer able to access the url #6777

Open
opened 2026-02-16 18:05:14 -05:00 by yindo · 10 comments
Owner

Originally created by @zhangchangsheg on GitHub (Jan 19, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

正常安装 opencode的启动提示这个 旧版本可以 今天更新后无法使用

Plugins

OpenCode version

最新版本重新安装了的

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Originally created by @zhangchangsheg on GitHub (Jan 19, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description 正常安装 opencode的启动提示这个 旧版本可以 今天更新后无法使用 ### Plugins 无 ### OpenCode version 最新版本重新安装了的 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="798" height="119" alt="Image" src="https://github.com/user-attachments/assets/6c5530df-3024-4a11-8df3-177d5451caea" /> ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:05:14 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8824: The latest desktop version v1.1.23 failed to launch due to 'Unable to connect. Is the computer able to access the url', pre versions is fine! (reported same day)
  • #7278: Error: Unable to connect. Is the computer able to access the url?
  • #5344: OllamaError: Unable to connect. Is the computer able to access the url?
  • #6150: Unable to connect. Is the computer able to access while using List tool
  • #6412: Opencode 'unable to connect' (contains detailed diagnostic logs)
  • #5945: [FEATURE]: Display the exact url opencode is failing to connect to (requests better error messages for this issue)

The error message 'Unable to connect. Is the computer able to access the url?' appears to be a recurring issue affecting multiple platforms and versions. #6412 provides the most diagnostic detail showing connection failures during startup.

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

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #8824: The latest desktop version v1.1.23 failed to launch due to 'Unable to connect. Is the computer able to access the url', pre versions is fine! (reported same day) - #7278: Error: Unable to connect. Is the computer able to access the url? - #5344: OllamaError: Unable to connect. Is the computer able to access the url? - #6150: Unable to connect. Is the computer able to access while using List tool - #6412: Opencode 'unable to connect' (contains detailed diagnostic logs) - #5945: [FEATURE]: Display the exact url opencode is failing to connect to (requests better error messages for this issue) The error message 'Unable to connect. Is the computer able to access the url?' appears to be a recurring issue affecting multiple platforms and versions. #6412 provides the most diagnostic detail showing connection failures during startup. Feel free to ignore if none of these address your specific case.
Author
Owner

@zer0Black commented on GitHub (Jan 19, 2026):

和你使用的模型有关,检查下模型是否无法正常链接。或者补充更多的信息,如opencode.json文件

@zer0Black commented on GitHub (Jan 19, 2026): 和你使用的模型有关,检查下模型是否无法正常链接。或者补充更多的信息,如opencode.json文件
Author
Owner

@zanglg commented on GitHub (Jan 19, 2026):

这应该是一个广泛的错误,我所在的环境,众多小伙伴都遇到了,回退到21版本则没有问题。

@zanglg commented on GitHub (Jan 19, 2026): 这应该是一个广泛的错误,我所在的环境,众多小伙伴都遇到了,回退到21版本则没有问题。
Author
Owner

@skII22 commented on GitHub (Jan 20, 2026):

$env:HTTPS_PROXY="http://127.0.0.1:7890"
$env:HTTP_PROXY="http://127.0.0.1:7890"

使用opencode前每次执行一下。估计是TUN 导致的node应用不能访问网络。

@skII22 commented on GitHub (Jan 20, 2026): ``` $env:HTTPS_PROXY="http://127.0.0.1:7890" $env:HTTP_PROXY="http://127.0.0.1:7890" ``` 使用opencode前每次执行一下。估计是TUN 导致的node应用不能访问网络。
Author
Owner

@joshuachendyb commented on GitHub (Jan 20, 2026):

我是最近开始有的最新3个版本。
这个问题在最近的2个版本上,频繁出现。 开始我以为是大模型的使用规则限制。
在几个大模型之间切换, 能够发现有的没有这个问题,或者 电脑重新开机问题消失了。

@joshuachendyb commented on GitHub (Jan 20, 2026): 我是最近开始有的最新3个版本。 这个问题在最近的2个版本上,频繁出现。 开始我以为是大模型的使用规则限制。 在几个大模型之间切换, 能够发现有的没有这个问题,或者 电脑重新开机问题消失了。
Author
Owner

@zanglg commented on GitHub (Jan 23, 2026):

#9258 这个PR已解决问题。

@zanglg commented on GitHub (Jan 23, 2026): #9258 这个PR已解决问题。
Author
Owner

@Chenxicheng commented on GitHub (Jan 23, 2026):

最新版本还是依然问题,还有什么方案吗?内网环境

@Chenxicheng commented on GitHub (Jan 23, 2026): 最新版本还是依然问题,还有什么方案吗?内网环境
Author
Owner

@zhangchangsheg commented on GitHub (Jan 26, 2026):

我目前解决了原因好像是我电脑上有Claudecode配置的信息,opencode会找到这些信心去登录a社 导致一直请求超时,可以去opencode里面配置下默认启动的模型,我换成智普目前就可以正常打开了

@zhangchangsheg commented on GitHub (Jan 26, 2026): 我目前解决了原因好像是我电脑上有Claudecode配置的信息,opencode会找到这些信心去登录a社 导致一直请求超时,可以去opencode里面配置下默认启动的模型,我换成智普目前就可以正常打开了
Author
Owner

@baoxin commented on GitHub (Jan 28, 2026):

接连出现这个问题,中间莫名其妙的好了(可能是重装和清理缓存生效了),今天再次出现

@baoxin commented on GitHub (Jan 28, 2026): 接连出现这个问题,中间莫名其妙的好了(可能是重装和清理缓存生效了),今天再次出现
Author
Owner
@wzma9 commented on GitHub (Jan 28, 2026): 参考https://github.com/anomalyco/opencode/issues/531,代理地址设置为你的代理地址,V1.1.40有效
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6777