Skip to content

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

@gianlazz

Description

@gianlazz
[lazztech-hub-service] [2022-10-29 20:05:17] [Nest] 18  - 10/29/2022, 8:05:17 PM   ERROR [ExceptionsHandler] @ntegral/nestjs-sentry:  Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
[lazztech-hub-service] [2022-10-29 20:05:17] DriverException: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
[lazztech-hub-service] [2022-10-29 20:05:17]     at PostgreSqlExceptionConverter.convertException (/workspace/node_modules/@mikro-orm/core/platforms/ExceptionConverter.js:8:16)
[lazztech-hub-service] [2022-10-29 20:05:17]     at PostgreSqlExceptionConverter.convertException (/workspace/node_modules/@mikro-orm/postgresql/PostgreSqlExceptionConverter.js:42:22)
[lazztech-hub-service] [2022-10-29 20:05:17]     at PostgreSqlDriver.convertException (/workspace/node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:192:54)
[lazztech-hub-service] [2022-10-29 20:05:17]     at /workspace/node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:196:24
[lazztech-hub-service] [2022-10-29 20:05:17]     at runMicrotasks (<anonymous>)
[lazztech-hub-service] [2022-10-29 20:05:17]     at runNextTicks (node:internal/process/task_queues:61:5)
[lazztech-hub-service] [2022-10-29 20:05:17]     at processTimers (node:internal/timers:499:9)
[lazztech-hub-service] [2022-10-29 20:05:17]     at async PostgreSqlDriver.find (/workspace/node_modules/@mikro-orm/knex/AbstractSqlDriver.js:49:24)
[lazztech-hub-service] [2022-10-29 20:05:17]     at async PostgreSqlDriver.findOne (/workspace/node_modules/@mikro-orm/knex/AbstractSqlDriver.js:67:21)
[lazztech-hub-service] [2022-10-29 20:05:17]     at async SqlEntityManager.findOne (/workspace/node_modules/@mikro-orm/core/EntityManager.js:324:22)
[lazztech-hub-service] [2022-10-29 20:05:17]     at async UserService.getUser (/workspace/dist/user/user.service.js:38:16)
[lazztech-hub-service] [2022-10-29 20:05:17]     at async JwtStrategy.validate (/workspace/dist/auth/strategy/jwt.strategy.js:32:22)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions