Skip to content
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

SASL reconnection error #594

Open
jeblair opened this issue Mar 10, 2020 · 1 comment
Open

SASL reconnection error #594

jeblair opened this issue Mar 10, 2020 · 1 comment

Comments

@jeblair
Copy link
Contributor

jeblair commented Mar 10, 2020

When using SASL authentication, if a kazoo client is disconnected, all future API calls will return NoAuthError on reconnect.

The issue appears to be that the connection object maintains the state of the SASL request in the .sasl_cli attribute, but that is not reset on disconnection. That means that when the reconnection attempt is made, it thinks that the SASL request is already completed, so it is not performed.

I am able to temporarily work around this in my app by setting client._connection.sasl_cli = None. Perhaps something similar in the connection handling code would address the problem.

@ceache
Copy link
Contributor

ceache commented Mar 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants