Skip to content

How the McpAsyncClient retry when the sse server reboot? #28

Description

@kaktos

When the MCP (SSE) server reboots, McpAsyncClient throws a PrematureCloseException. The code at this link does not handle this exception.

Additionally, the sendMessage(JSONRPCMessage message) method does not seem to have retry logic either.

Activity

  1. added
    enhancement
    on Mar 13, 2025
  2. self-assigned this
    on Mar 13, 2025
  3. tzolov commented on Mar 13, 2025

    @tzolov
    Contributor

    Thanks @kaktos! Retry handling is a known high-priority issue. We'll focus on it after resolving (#9, #31)

  4. hongling-dev commented on Apr 7, 2025

    @hongling-dev

    Thanks @kaktos! Retry handling is a known high-priority issue. We'll focus on it after resolving (#9, #31)

    When is the expected release date? @tzolov

  5. chemicL commented on Feb 17, 2026

    @chemicL
    Member

    This issue was raised some time ago and the SDK has evolved in the meantime. Is the described problem still applicable? Can you provide a test case demonstrating what behaviour you would expect?

  6. added
    waiting for user
    needs repro
    on Feb 17, 2026
  7. Kehrlann commented on Jun 25, 2026

    @Kehrlann
    Contributor

    Closing due to inactivity

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

Metadata

Metadata

Assignees

Labels

area/clientenhancementneeds reprowaiting for user

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions