Skip to content

Unable to configure Ping interval from client and client continue to ping when closed. #315

Description

@derek-kam

According to the following Implementation Considerations in the specification

  • Implementations SHOULD periodically issue pings to detect connection health
  • The frequency of pings SHOULD be configurable
  • Timeouts SHOULD be appropriate for the network environment
  • Excessive pinging SHOULD be avoided to reduce network overhead

2 issues I can see in the latest Java SDK using SSE:

  • I am not able to configure the frequency of the pings or disable it to reduce network overhead.
  • The client will continue to ping the server even after I run client.close().

Activity

  1. chemicL commented on Feb 19, 2026

    @chemicL
    Member

    I can not identify where this would happen on the client side. We did have an implementation of a keep-alive mechanism using pings, but that is only handled on the server side (#430) and it was implemented after you raised this issue.

    If you are still experiencing this issue, can you please provide a reproducer or pointers where this happens?

  2. added
    waiting for userWaiting for user feedback or more details
    needs reproWe need a way to reproduce the problem
    on Feb 19, 2026
  3. 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

No one assigned

    Labels

    needs reproWe need a way to reproduce the problemwaiting for userWaiting for user feedback or more details

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions