Replies: 6 comments 4 replies
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
We cannot suggest much without knowing what platform, JDK version, RabbitMQ version and Erlang version this was tested against, as well as the exact server configuration, perhaps with keys produced by tls-gen. Server logs and a traffic capture would help immensely, too. |
Beta Was this translation helpful? Give feedback.
-
Docker output and packet capture. |
Beta Was this translation helpful? Give feedback.
-
It also fails on a VM running Debian 10.11 with zulu17.30.15-ca-jdk17.0.1-linux_x64. |
Beta Was this translation helpful? Give feedback.
-
@Yaytay I guess this is the original post on the mailing list: https://groups.google.com/g/rabbitmq-users/c/LGlpHNx5QIQ/m/AobNKVegAAAJ. I managed to reproduce. The TLS handshake fails with NIO and TLS 1.3. A workaround is to use blocking IO or TLS 1.2, until we come up with a fix. |
Beta Was this translation helpful? Give feedback.
-
The following unit test passes if the useNio() line is commented out, but hangs forver (well, I left it overnight) if NIO is used.
The test is just an attempt to perform a minimal SSL connection to a rabbitmq server, dynamically created using the testcontainers library.
The various certificate files were created according to the instructions in the documentation, but will be attached here.
It wouldn't be surprised to find that additional configuration is required for SSL with NIO, but in the absence of that config it should either "just work" or throw an exception.
The order of useNio and useSslProtocol doesn't affect the hang.
Beta Was this translation helpful? Give feedback.
All reactions