Postgres DB can not connect

shellteo
PRO

a year ago

[09:42:47.173] ERROR: Can't connect to the database.

[09:42:47.173] ERROR: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

err: {

"type": "KnexTimeoutError",

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

"stack":

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

at ClientPG.acquireConnection (/app/nodemodules/knex/lib/client.js:312:26)

at async Runner.ensureConnection (/app/node_modules/knex/lib/execution/runner.js:287:28)

at async Runner.run (/app/node_modules/knex/lib/execution/runner.js:30:19)

at async validateDatabaseConnection (file:///app/node_modules/@directus/api/dist/database/index.js:163:13)

at async waitForDatabase (file:///app/node_modules/@directus/api/dist/cli/commands/bootstrap/index.js:51:5)

at async Command.bootstrap (file:///app/node_modules/@directus/api/dist/cli/commands/bootstrap/index.js:14:5)

at async Command.parseAsync (/app/node_modules/commander/lib/command.js:935:5)

"name": "KnexTimeoutError",

"sql": "SELECT 1"

}

1 Replies


a year ago

there's an ongoing incident - <#846875565357006878>


a year ago

closing this thread in favour of the original thread - https://discord.com/channels/713503345364697088/1249999292580761653


cmaccarone
PRO

10 months ago

I am seeing this same issue again. Could it be related to the outage that happened on 8/27? I am still seeing it several days after the outage. Last time it was happening for us was 8/29.