Skip to content

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

Closed

Description

@zhangchangsheg

Description

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

Plugins

无

OpenCode version

最新版本重新安装了的

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 19, 2026

    @github-actions
    Contributor

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

    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.

  2. zer0Black commented on Jan 19, 2026

    @zer0Black

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

  3. zanglg commented on Jan 20, 2026

    @zanglg

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

  4. skII22 commented on Jan 20, 2026

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

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

  5. joshuachendyb commented on Jan 20, 2026

    @joshuachendyb

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

  6. zanglg commented on Jan 23, 2026

    @zanglg

    #9258 这个PR已解决问题。

  7. Chenxicheng commented on Jan 23, 2026

    @Chenxicheng

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

  8. zhangchangsheg commented on Jan 26, 2026

    @zhangchangsheg
    Author

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

  9. baoxin commented on Jan 28, 2026

    @baoxin

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

  10. github-actions commented on Mar 31, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions