Replies: 2 comments 1 reply
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
The LDAP client used by RabbitMQ does not know whether it's connecting to a load balancer or not. When upstreams are "cycled" (restarted?), it's up to your load balancer to close the client side of the connection. Otherwise the client would not know that's been disconnected. LDAP connection pooling in this client works the same way regardless of whether a load balancer is used: it will purge only those connections that have been closed (by the load balancer or an actual LDAP server node). |
Beta Was this translation helpful? Give feedback.
-
hi,
We are running into the issue that our RabbitMQ LDAP plugin is failing to reconnect to the LDAP cluster via a loadbalancer. We have some ldap server nodes that are all connected via the loadbalancer hostname like ldaps://ldap.
We periodically have to cycle our ldap server nodes for maintenance. Therefore any cached/pooled connections to the ldap node that is being cycled will be disconnected. It seems this ldap plugin is not able to purge those connections if they were established via virtual or load balancer hostname. We are currently using RabbitMQ v3.7.25 which should have the fix from this previous reported issue.
Our current configurations:
auth_ldap.servers.1 = ldap (a single connection to the loadbalancer host)
auth_ldap.connection_pool_size = 256
auth_ldap.idle_timeout = 50000
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions