Skip to content

poll never stops with incorrect password for SCRAM-SHA-256 #2238

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

Closed
AleksandrIakhnev opened this issue Jun 2, 2021 · 2 comments
Closed

poll never stops with incorrect password for SCRAM-SHA-256 #2238

AleksandrIakhnev opened this issue Jun 2, 2021 · 2 comments

Comments

@AleksandrIakhnev
Copy link

When using SCRAM-SHA-256 and the password is incorrect, then poll hangs ignoring provided timeouts.

A ConnectionError exception raised at https://github.com/dpkp/kafka-python/blame/master/kafka/conn.py#L692 and retried for an infinite time at https://github.com/dpkp/kafka-python/blob/master/kafka/client_async.py#L575

@swenzel
Copy link
Contributor

swenzel commented Feb 4, 2022

Sorry, I can't reproduce this. Is it still happening?
Which Java + Kafka version are you using? How many Kafka Brokers?
And which Python + kafka-python version?

@dpkp
Copy link
Owner

dpkp commented Mar 16, 2025

Timeouts / network connection management has been updated in latest release.

@dpkp dpkp closed this as completed Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants