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
After upgrading to ^8.2.0 we are seing pool errors from knex #2223
Comments
What version did you have installed,
Thanks! |
Both version have this bug, 8.2.0 and 8.2.1 |
Firstly I thought that this fix would help, upgraded to 8.2.1, but it's reproduced and only downgrade helped. |
I am not sure if this will help Client_PG.acquireConnection - https://github.com/knex/knex/blob/master/lib/client.js#L338 |
Hmmm - that's no good. I didn't change anything related to the pool in 8.2.x so not totally sure what that could be yet... Do you have a self-contained script or test that can reproduce this issue? Knex is rather large & I don't use it myself, so narrowing this down to something I can target more accurately would help me diagnose. |
I am also having this error, although, I am not using Knex. Sequelize via |
I'm running into this error as well, with every version I try (I've seen it happen on 8.1.0, 8.2.1, 7.11.0 and 7.14.0 which is especially strange). One of my coworkers has run into the same issue, but others haven't. This seems to have started for me after upgrading to Ubuntu 20.04, and my coworker who can reproduce it is on the same. I don't know if it's related, but it seemed like an odd coincidence. My coworker was able to resolve the problem on his end by upgrading to 8.2.1, but that hasn't fixed things for me. |
Please let me know if you have a self-contained script to reproduce the issue. I'd love to look at it, but can't do much w/o steps to reproduce. |
Unfortunately, I don't - due to the way our app is structured, there are a lot of potential interacting variables. I'm currently busy with other tasks and probably won't return to this until next week, but if I can find a minimal reproduction, I'll definitely share it here. |
@flotwig Are you using Lambda functions at all? I am seeing the same issue there. |
Just a followup from my comment - I don't have minimal repro steps, but I was able to fix the issue by downgrading node to 12.18.1. I was on 14.4.0 before that. I think the issue I was experiencing was the same as knex/knex#3831 |
I had a similar problem, the error occurs from v14.0.0+ I fixed it downgrading node to v13.14.0. Thanks @JoelHobsonRoadmunk |
After playing with pool settings in Knex (which depends on tarn js) with most recent versions of pg (8.3+) we don't see such errors anymore (at least ones we have no explanation for). Thanks! |
Once we've downgraded to 8.1.0 - they are gone. I am not sure if these are related, but just letting you know.
The text was updated successfully, but these errors were encountered: