-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Last message was not SASLResponse #3222
Comments
Hey @blechatellier - i need more code to reproduce this issue. if you can reproduce this in an isolated environment & provide the code I'm more than happy to take a look. Otherwise...not sure? Could be pg-bouncer? Or some misconfigured password somewhere? |
Also having this problem - in a serverless function. |
@jonnicholson94 - any way you could share with me some code that reproduces the problem? 🙏 |
@brianc sorry for the late reply, some of those issues were because of the supabase pooler terminating some connections randomly, the issue has been fixed on their side and this hasn't happened since. |
I am also using supabase in my project facing this problem. I am still having this issue. Cloud you tell me how to fix this? @blechatellier |
It was related to a change they did and fixed on their side supabase/supavisor#344 |
I've also encountered that issue in the past with an onCompletion callback from streaming an AI response that was called async after the connection was closed. |
Hi, I'm using node-pg in a serverless environment and I often see the following error:
I can see in code that it gets called in
finalizeSession
node-postgres/packages/pg/lib/crypto/sasl.js
Line 62 in e25428c
When would this error happen?
Thanks for your help.
The text was updated successfully, but these errors were encountered: