Skip to content

Retry on Error: SSE read timed out #25

Closed

Description

@dzianisv

Description

Error: SSE read timed out

and opencode didn't retry, but should!

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. dzianisv commented on Jun 21, 2026

    @dzianisv
    OwnerAuthor

    Retry infrastructure exists in session/retry.ts:

    • SSE timeouts generate errors with isRetryable: true
    • SessionRetry handles backoff with configurable delays
    • 5xx and transient errors are auto-retried
    • retry-after / retry-after-ms headers respected

    The original report lacked a specific version. Current dev handles this.

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions