Skip to content

RabbitMQ Client - Deadlock/hanging on JDK socket write #17

@benchong913

Description

@benchong913

Java Version: OpenJDK 17.0.2 2022-01-18 LTS
SDK Version: 2.4.1.1

We had a situation very similar to this problem at production.

rabbitmq/rabbitmq-java-client#236

This problem make us cannot send the ticket to MTS or recvice any response.
Also, since the socket is stuck, it cannot let us to reconnect to RabbitMQ immediately when missing the heartbeat.

We had try to set the connectionFactory to use NIO but there are some Exception during reading frames
Such as IOException reached EOF, SSLProtocolException Input record too big
It seem not quick stable

SSLProtocolException may be the JDK problem
https://bugs.openjdk.org/browse/JDK-8227651

Do you have any suggestion like upgrade the RabbitMQ Client version or keep using the NIO or else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions