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 handshake takes too long #564
Comments
Run the client with the "debug" config property set to "broker,protocol,security" and see if you can work out where the delays are adding up |
Thanks @edenhill. I enabled borker, protocol, and security debugging on the consumer and I see that the delay is caused by
Is this a normal delay? If not, how can it be reduced? Debug lines that cause the delay are in bold:
|
Ouch, no, SSL handshake should be much faster than that, well below 1s. And SASL PLAIN Auth should be pretty much instant. Do other clients or other platforms (linux, osx) show the same problem? |
please re-open if you have further information. this looks to me like an issue outside the scope of this client (but we can still comment on further information). |
When I setup the broker on an Ubuntu virtual machine and connected the clients from Windows, the latency is no longer observed. I wonder why the SSL handshake and SASL authentication each take 10 seconds on Windows! Thanks @edenhill for the useful tip. |
Description
Authentication using SASL/SCRAM or SASL/PLAINTEXT takes around 9 seconds to complete. Is this normal?
How to reproduce
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: