RabbitMQ: Handling the CLIENT ALERT: Fatal - Handshake Failure error with Elixir
This documentation is part of the Getting Started guide. You can view the complete guide here: How to use Stackhero for RabbitMQ.
If you are connecting from Elixir and see the error message
CLIENT ALERT: Fatal - Handshake Failure
this usually indicates a bug in the AMQP library's support for TLS 1.3. A reliable workaround is to force the use of TLS 1.2 by adding this option when opening the connection:
AMQP.Connection.open("amqps://admin:<PASSWORD>@<XXXXXX>.stackhero-network.com:<AMQP_PORT_TLS>", :undefined, ssl_options: [ versions: [ :"tlsv1.2" ] ])