Issues connecting to fedora-messaging #727
Replies: 2 comments
-
|
@hellcp-work I don't know what Fedora messaging is, or what certificates are used, or what the target RabbitMQ node logs, or what "Python library" you are trying to compare Bunny to. Different clients can and will in practice have different TLS-related defaults, namely the default list of trusted CA certificates used by their underlying TLS implementations: some default to the system certificate store, others start with an empty list you explicitly have to populate. Bunny does not load any system roots (default root certificates), so the CA certificate bundle must either be appended to the CA bundle file or Ruby's TLS library must be programmatically configured to do that or something comparable. Actionable SuggestionsGiven the extremely limited amount of information shared, all I can suggest is taking a look at the debugging methodologies explained in the following RabbitMQ guides: They explain how to narrow down the most common connectivity issues quickly, using standard CLI tools that you can easily provision on virtually any reasonably modern and popular OS. RabbitMQ logging guide explains how to inspect server logs, which should be the very first step in troubleshooting most RabbitMQ-related things, including TLS connections. |
Beta Was this translation helpful? Give feedback.
-
|
I don't really have easy access to server logs, as it is a public amqp server. Thanks for the hint about the CA bundle file, I will see if that was my problem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the tls instructions in the documentation, I tried the following piece of code:
That results in
I'm not entirely sure why this would happen, considering that this works just fine in python client libraries.
Beta Was this translation helpful? Give feedback.
All reactions