Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
benchong913 opened this issue Feb 25, 2023 · 0 comments
Open

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

benchong913 opened this issue Feb 25, 2023 · 0 comments

Comments

@benchong913
Copy link

benchong913 commented Feb 25, 2023

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?

@benchong913 benchong913 changed the title Deadlock/hanging on JDK socket write RabbitMQ Client - Deadlock/hanging on JDK socket write Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant