-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Is your feature request related to a problem? Please describe.
https://groups.google.com/g/rabbitmq-users/c/VT4GKJVJT7s
In the above discussion, the user reported that their ESP8266 device wouldn't connect to RabbitMQ when the following server settings are enabled:
ssl_options.verify = verify_peer
ssl_options.fail_if_no_peer_cert = true
If the above verification is disabled, the connection succeeds. It turns out that ssl:handshake took longer than the default 5 second timeout set by the ssl_handshake_timeout setting. I determined this by using redbug, because NOTHING was logged by RabbitMQ! 🤦♂️
Describe the solution you'd like
RabbitMQ should clearly log TLS errors like handshake timeouts.