TLS replication still logs error if it cannot connect to first address #186
Replies: 2 comments 17 replies
-
@tschuettig certificates do not "block access to IP addresses". Some would argue that such errors should be visible in the logs and not hidden. What #103 (#96) addressed was not logging at all but rather what errors result in a retry with the rest of the hostnames. |
Beta Was this translation helpful? Give feedback.
-
It appears the replica reader cannot connect to the replica when a node restarts because DNS resolution is not possible until the readiness probe is successful. The replica reader does try the IP as a last resort but fails because TLS replication is enabled and the certificate is not issued for the IP. We don't plan on changing the stream coordinator in RabbitMQ to wait until the node is fully ready (in "K8S readiness probe" terms) to start streams replicas. Instead we'll try to improve the logging (more informative and less verbose). Follow-up PR: #191 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Related to the following issue:
#96
RabbitMQ still logs an error if it fails to connect to the first address but succeeds with another address:
This can be misleading, especially because the log message "successfully connected to host" has the log level debug and therefore is not shown in an usual setup.
Reproduction steps
Expected behavior
There should be no error logged unless the connection failed for all addresses.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions