Marko
03/30/2021, 12:03 PMError in PostgreSQL connection: Error { kind: Closed, cause: None }
(going to attach log in the thread). I am using a single prisma client to access everything and am using version 2.19.0
and node 12. Can't find any issues, so any help would be appreciated.Marko
03/30/2021, 12:04 PMhttps: //github.com/prisma/prisma/issues/new?body=Hi Prisma Team! My Prisma Client just crashed. This is the report:
## Versions
| Name | Version |
|-----------------|--------------------|
| Node | v12.21.0 |
| OS | debian-openssl-1.1.x|
| Prisma Client | 2.19.0 |
| Query Engine | query-engine c1455d0b443d66b0d9db9bcb1bb9ee0d5bbc511d|
| Database | undefined|
## Query
query {
findUniqueUser(where: {
id: "X"
}) {
progress
}
}
## Logs
Fetched a connection from the pool
prisma:engine stdout Unknown error
prisma:engine {
error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error in connector: Error querying the database: connection closed
at NodeEngine.graphQLToJSError (/workspace/node_modules/@prisma/client/runtime/index.js:29799:14)
at NodeEngine.request (/workspace/node_modules/@prisma/client/runtime/index.js:29695:24)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async cb (/workspace/node_modules/@prisma/client/runtime/index.js:34744:26) {
clientVersion: '2.19.0'
}
}
prisma:engine stdout Fetched a connection from the pool
prisma:engine stdout Unknown error
prisma:engine {
error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Closed, cause: None }) })
at NodeEngine.graphQLToJSError (/workspace/node_modules/@prisma/client/runtime/index.js:29799:14)
at NodeEngine.request (/workspace/node_modules/@prisma/client/runtime/index.js:29695:24)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
clientVersion: '2.19.0'
}
}
prisma:engine stdout Fetched a connection from the pool
prisma:engine stdout Unknown error
prisma:engine {
error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error in connector: Error querying the database: connection closed
at NodeEngine.graphQLToJSError (/workspace/node_modules/@prisma/client/runtime/index.js:29799:14)
at NodeEngine.request (/workspace/node_modules/@prisma/client/runtime/index.js:29695:24)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async cb (/workspace/node_modules/@prisma/client/runtime/index.js:34744:26) {
clientVersion: '2.19.0'
}
}
prisma:engine stdout Fetched a connection from the pool
prisma:engine stdout Unknown error
prisma:engine {
error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Closed, cause: None }) })
at NodeEngine.graphQLToJSError (/workspace/node_modules/@prisma/client/runtime/index.js:29799:14)
at NodeEngine.request (/workspace/node_modules/@prisma/client/runtime/index.js:29695:24)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
clientVersion: '2.19.0'
}
}
prisma:engine stdout Fetched a connection from the pool
prisma:engine stdout Unknown error
prisma:engine {
error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]: Error in connector: Error querying the database: connection closed
at NodeEngine.graphQLToJSError (/workspace/node_modules/@prisma/client/runtime/index.js:29799:14)
at NodeEngine.request (/workspace/node_modules/@prisma/client/runtime/index.js:29695:24)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async cb (/workspace/node_modules/@prisma/client/runtime/index.js:34744:26) {
clientVersion: '2.19.0'
}
}
Error in PostgreSQL connection: Error { kind: Closed, cause: None }&template=bug_report.md
Ryan
03/30/2021, 12:07 PMMarko
03/30/2021, 12:41 PM