Skip to content

Error message: tell a refused connection from a stream that sent no event #511

Closed

Description

@Blind-Striker

On a refused port, the subscription fails with "The opencode event stream did not connect within 2 seconds", which reads like a slow server.

Proposed: distinguish "connection refused" from "connected, but no event arrived" in the message.

Source: internal developer-experience evaluation of the 2.0.32 nightly, 2026-10-18 (finding D32-13).

Activity

  1. added this to the 1.0 milestone on Oct 18, 2026
  2. Blind-Striker commented on Oct 23, 2026

    @Blind-Striker
    CollaboratorAuthor

    Moved from the documentation sweep (#504) to RT-E4 (#483): the fix is a change to the message in hand-written transport (src/OpenCode.Sdk/Internal/Transport/Pipeline.cs and StreamAttempt.cs, where "did not connect within" is raised), not a documentation edit.

  3. added a commit that references this issue on Oct 23, 2026
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

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions