You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will fail if tls is enabled on the broker. It looks like the intention of the code was to use ConnectionFactory/DEFAULT_AMQP_OVER_SSL_PORT when :ssl is supplied, however, due to the call to normalize-settings, it will set :port to 5672 which when building the addresses to connect to will cause (get settings' :port default-port) to never return the default-port as it seems like was the intention:
You can get around this by manually supplying :port to the connection map but it was a bit of a gotcha as it was clearly trying to do ssl, the connection factory has the correct port defined, etc, but it was ultimately trying to connect on the non tls endpoint.
The text was updated successfully, but these errors were encountered:
Calling
Will fail if tls is enabled on the broker. It looks like the intention of the code was to use
ConnectionFactory/DEFAULT_AMQP_OVER_SSL_PORT
when:ssl
is supplied, however, due to the call tonormalize-settings
, it will set:port
to5672
which when building the addresses to connect to will cause(get settings' :port default-port)
to never return thedefault-port
as it seems like was the intention:You can get around this by manually supplying
:port
to the connection map but it was a bit of a gotcha as it was clearly trying to do ssl, the connection factory has the correct port defined, etc, but it was ultimately trying to connect on the non tls endpoint.The text was updated successfully, but these errors were encountered: