PrismaP
Prisma4mo ago
7 replies
Arshia

Prisma postgress. Server has closed the connection error, please help.

{
"timestamp": "2025-10-08T14:08:49.655Z",
"tests": [
{
"name": "Environment check",
"DATABASE_URL_set": true,
"NODE_ENV": "production",
"url_preview": "postgres://c2012740f591e59ba3f..."
},
{
"name": "Prisma client creation",
"status": "SUCCESS"
}
],
"errors": [
{
"test": "Connection test with timeout",
"error": "\nInvalid prisma.$executeRaw() invocation:\n\n\nServer has closed the connection.",
"type": "PrismaClientInitializationError"
},
{
"test": "Connection with pooling params",
"error": "\nInvalid prisma.$executeRaw() invocation:\n\n\nServer has closed the connection.",
"type": "PrismaClientInitializationError"
},
{
"test": "Database server info",
"error": "\nInvalid prisma.$executeRaw() invocation:\n\n\nServer has closed the connection.",
"type": "PrismaClientInitializationError"
}
],
"overall_status": "SOME_TESTS_FAILED"
}
Was this page helpful?