Skip to content

Ask Ai Bug - Unable to connect #856

Closed

Description

@diegohb

Failed to attach to existing OpenCode server at http://127.0.0.1:4096: Unable to connect. Is the computer able to access the url? Fallback startup also failed: ENOENT: no such file or directory, uv_spawn 'opencode'

os: windows
agent: opencode

Activity

  1. backnotprop commented on Sep 11, 2026

    @backnotprop
    Owner

    Backlog pass, reviewed by a human against current main. The attach-to-existing-server path that produced these errors was removed entirely in #1445 (v0.27.11) - the opencode provider now always spawns its own server on an OS-assigned port, so the 'Failed to attach' / fallback-startup failure mode no longer exists. Closing as resolved by that rework. One part of your report survives in a different form: if the opencode CLI is not on PATH, the spawn error message is still unhelpful - we've filed a follow-up to give it a clear 'install the opencode CLI' hint. If Ask AI still misbehaves for you on a current build, reopen with the version and we'll look.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions