Skip to content

Rx3SseClient got disconnect after 5 mins #317

Description

@VanKuang

Expected Behavior

Do not disconnect if server keep sending heartbeat, so the connection should be keep-alive.

Actual Behaviour

The sse client got disconnect after 5 mins, it was trigger by the WriterIdleTimeoutHandler in IdleStateHandler from Netty.
The idleStateHandler was added by https://github.com/micronaut-projects/micronaut-core/blob/v3.7.5/http-client/src/main/java/io/micronaut/http/client/netty/ConnectionManager.java#L609

Steps To Reproduce

Here is my client:

Rx3SseClient.create(URL) .eventStream() .subscribe()

Environment Information

No response

Example Application

No response

Version

2.4.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions