Skip to content
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

Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? #6027

Closed
imjgautam opened this issue Mar 7, 2024 · 1 comment

Comments

@imjgautam
Copy link

Environment

Knex version: "knex": "^3.1.0",
pg version: "pg": "^8.0.3",
Database + version: Postgres 16.2
OS: Ubuntu
Node js version : 12, 14, 16, 18, 19

Bug

WhatsApp Image 2024-02-27 at 4 39 29 PM

  1. Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

  2. DB automatically shut down.

  3. Idle session timeout error.

Please any one has the solution about these querry, I am facing this issue from last 2 months, I need to fix it. Please share the solution, I have downgraded the node js version also, but not worked, I also configured all pool object in knex but not worked, even i implemented COMMIT, ROLLBACK, DESTROY, RELEASE, buth nothing worked.

@rluvaton
Copy link
Member

I know this issue was created before #6034 but I already answered there

Duplicate of #6034

@rluvaton rluvaton closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants