Skip to content

Client does not respect SSE retry field or send Last-Event-ID on reconnection #590

Closed

Description

@devcrocod
  • Target: client
  • Component: sdk-client
  • Scenarios: sse-retry

Root cause

When the server closes an SSE stream to trigger reconnection, StreamableHttpClientTransport reconnects immediately instead of waiting the duration specified by the SSE retry field (e.g. 500 ms). It also does not send the Last-Event-ID header on the reconnection GET request. The Ktor SSE client manages reconnection internally and the transport does not propagate the retry timing or last event ID into its own reconnection logic

Client-side subset of #420

Activity

  1. added theissue type on Mar 7, 2026
  2. added a commit that references this issue on Mar 11, 2026
    0a3b4bd
  3. added a commit that references this issue on Mar 12, 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

    bugSomething isn't working

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions