-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client connection not authorized #24600
Comments
Do the errors go away after some time? |
The bad connections won’t recover on their own. We have to restart the client to get all connections established. |
thanks @zhangluva. just to clarify, this is a stable cluster that isn't being upgraded or restarted when the problem occurs. rather, it is just sometimes a new client connection gets stuck in this state? |
It’s a stable cluster. This only happens (sometimes) when a new client image is rolled out. It would be working fine after a restart if that happened. |
@zhangluva thanks i forgot to ask: what kafka client/library and version are you using? |
Version & Environment
Redpanda version: (use
rpk version
):Container image:
docker.redpanda.com/redpandadata/redpanda:v24.2.2
Kubernetes version:
1.29.10
What went wrong?
We have a client that would establish 8 connections to the cluster. Sometimes, one or few of the connections would fail and stay in the bad state until the client is restarted.
On the server side, we would see logs like below, repeats until the client is restarted.
Cluster is using mTLS to authenticate. The client's cert has the common name
client-1
We have a script to grant the client permissions
As described, the server nodes are using the CN
bootstrap.cluster
. The log shows the server CN for accessing a topic when the client failed to. The server certificate is only used by the cluster server nodes, not anywhere else.Also, not all connections from the client fail, only part of the connections.
What should have happened instead?
The client should connect and gets authorized when a correct cert/key pair is provided
How to reproduce the issue?
We don't have a good way to reproduce the errors. It happens quite often when a new client image is rolled out.
Additional information
Please attach any relevant logs, backtraces, or metric charts.
JIRA Link: CORE-8613
The text was updated successfully, but these errors were encountered: