-
Notifications
You must be signed in to change notification settings - Fork 417
Random errors on MD5 auth with pgbouncer #49
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
Comments
Can you reproduce this on direct connections to PostgreSQL server? This might be a pgbouncer bug. |
I also could not reproduce it locally, maybe production setup bug |
But maybe there is a workaround? |
I don't think we can do anything about this. I'll close this issue now, but feel free to reopen if you can reproduce without pgbouncer in the mix. As a workaround I would suggest to continue doing what you are doing, maybe with a retry counter. |
I'm experiencing the same error. And I can't reproduce it without pgbouncer. @vharitonsky, were you able to figure it out? |
This actually seems to be a duplicate of #158, which is fixed in master. |
Indeed it is, thanks. |
Hi elprans, This is a closed issue, but did you guys got any update for any possible solution. We actually need a rca for this in our company. We sometimes get this issue on our production and its raising concern. Please guide. Cheers, |
I am connecting to the same pgbouncer with the the same credentials like a hundred times per second and sometimes I have this error:
Switching to plain auth in pgbouncer fixes the error. I suspect that something in salt is causing the issue, like some cruft in the buffer or leftover message that is not fully read:
Simple retry will lower the number of these errors significantly:
But maybe there is a cleaner solution? Maybe the connection is not closed properly or some buffer was not flushed here:
The text was updated successfully, but these errors were encountered: