Skip to content

Error: Unable to connect. Is the computer able to access the url? #7278

Closed

Description

@itgoyo

Description

just open terminal and run opencode and open broswer with http://127.0.0.1:4096

Plugins

No response

OpenCode version

1.0.220

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS 15.1.1

Terminal

iTerm2

Activity

  1. github-actions commented on Jan 8, 2026

    @github-actions
    Contributor

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

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

  2. aokihu commented on Jan 8, 2026

    @aokihu

    这个问题你只要升级到新版本就能在浏览器中打开了,与之相反的是CLI中就无法通过attach连接了

  3. biandan commented on Jan 17, 2026

    @biandan

    使用 gemini-3-pro-preview 模型,这个很奇怪,我也遇到了,有的目录的session可以正常使用,有的目录下的session就会报错:Error: Unable to connect. Is the computer able to access the url?
    version 1.1.21
    "I'm using the gemini-3-pro-preview model. It's really strange, I'm encountering this too. Sessions in some directories work fine, but sessions in other directories throw an error: Error: Unable to connect. Is the computer able to access the url? (Version 1.1.21)"

  4. daryltucker commented on Jan 27, 2026

    @daryltucker

    Excited to see this be resolved.

  5. Koleok commented on Feb 1, 2026

    @Koleok

    In my case this was due to not having a default model configured (if you open oc in the scope of a project the tui will select the last used model which can obscure what's going on)

  6. github-actions commented on Apr 3, 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