User authenticated successfully but then blocked #4041
-
Can someone help to troubleshoot problem with RabbitMQ, I see in rabbit logs this message:
but before this message I get "User 'k8s-prod' authenticated successfully by backend rabbit_auth_backend_internal" confused why it's blocked then? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
Thank you for your time. Team RabbitMQ uses GitHub issues for specific actionable items engineers can work on. This assumes that we have a certain amount of information to work with. Getting all the details necessary to reproduce an issue, make a conclusion or even form a hypothesis about what's happening can take a fair amount of time. Our team is multiple orders of magnitude smaller than the RabbitMQ community. Please help others help you by providing a way to reproduce the behavior you're
Feel free to edit out hostnames and other potentially sensitive information. When/if we have a complete enough understanding of what's going on, a recommendation will be provided or a new issues with more context will be filed. Thank you. |
Beta Was this translation helpful? Give feedback.
-
We cannot suggest anything with a couple of log lines. They simply mean that a new connection starts a channel supervisor. All key connection lifecycle events are logged, including authentication failures. We don't have any RabbitMQ version information to work with either, and it's not clear what you mean by "blocked". |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
that isn't a lot logs that can describe more,
|
Beta Was this translation helpful? Give feedback.
-
Those log lines are client properties it advertises to RabbitMQ such as Blocked Connection Notifications, which should be used to determine when a connection was actually blocked, together with metrics, management UI and the very visible log messages about Resource Alarms. In your Those capabilities are not really meant to be logged but in your version and configuration, end up leaking via supervisor info messages. They should be debug entries instead but not all supervisor info lines are logged by RabbitMQ itself. It's expected that all those messages are nearly identical: the code path a new connection goes through, and the kind of operations clients perform early on, are identical. |
Beta Was this translation helpful? Give feedback.
-
@michaelklishin can you explain about it? rabbitmq-server/deps/amqp_client/include/amqp_client_internal.hrl Lines 22 to 28 in 6e10225 especially what it's means |
Beta Was this translation helpful? Give feedback.
Those log lines are client properties it advertises to RabbitMQ such as Blocked Connection Notifications, which should be used to determine when a connection was actually blocked, together with metrics, management UI and the very visible log messages about Resource Alarms.
In your
rabbitmq-diagnostics status
output you see that there are no active alarms, no connections will be blocked.Those capabilities are not really meant to be logged but in your version and configuration, end up leaking via supervisor info messages. They should be debug entries instead but not all supervisor info lines are logged by RabbitMQ itself.
It's expected that all those messages are nearly identical: the code…