SaslAuthenticateRequest timeouts #4086
Replies: 4 comments 4 replies
-
Broker requests timing out are typically indicative of problems with your Kafka service provider or network. |
Beta Was this translation helpful? Give feedback.
-
Thanks.
I see similar frequency of errors regarding the ApiVersionRequests, which
include a hint that those timeouts may be due to an older broker version
which doesn't seem to be my case.
It's curious that I don't see similar frequent timeout issues for any other
requests than these two types. Is that because other requests/writes have
retries and these dont, or are the above two type of requests fundamentally
different somehow?
Thanks again
…On Thu., Dec. 1, 2022, 4:22 a.m. Magnus Edenhill, ***@***.***> wrote:
Broker requests timing out are typically indicative of problems with your
Kafka service provider or network.
—
Reply to this email directly, view it on GitHub
<#4086 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHJO2GCLP34GXAMK3VVND7LWLBU4RANCNFSM6AAAAAASQKBK3Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks @edenhill. Ive created a support ticket for the AWS MSK cluster. In the mean time, I've added some logs below for when we first initialize our Go kafka producer client.
In particular the following lines seem odd, as the duration between them is not "91191ms" like the log below says. The difference is 91.193, so perhaps it's just a logging error and it should read "91.193ms"? In my client/producer configuration I set "api.version.request.timeout.ms" to the max (300000) and I still see similar errors way under the timeout.
Another thing to note is that this is executed in an AWS Lambda. So I wonder if there is some "leftover" state between Lambda environments being reused. But the above log snippet is from the very beginning of a Lambda Log Group (which should mean Lambda invocation). |
Beta Was this translation helpful? Give feedback.
-
Hi Only for the particular go client using librdkafka, I am facing below error:
Below is the config yaml I am using - I have tried changing api.version.request.timeout values and passing api.version.request as true/false, the error still persists.
Could you please provide any insights on this? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a Go program running in AWS Lambda that uses this library to produce messages to our AWS MSK cluster with 3 brokers. I experience frequent errors like below (ex. 240 per 12 hour period). Curious what I can do to avoid this? Or can I safely ignore them if I'm seeing no other issues?
Thank you!
%5|1667584607.329|REQTMOUT|rdkafka#producer-1| [thrd:sasl_ssl://<host redacted>]: sasl_ssl://<host redacted>:9096/bootstrap: Timed out SaslAuthenticateRequest in flight (after 129668ms, timeout #0)
%3|1667584607.330|FAIL|rdkafka#producer-1| [thrd:sasl_ssl://<host redacted>]: sasl_ssl://<host redacted>:9096/bootstrap: SASL authentication error: SaslAuthenticateRequest failed: Local: Timed out (after 129668ms in state AUTH_REQ)
Beta Was this translation helpful? Give feedback.
All reactions