SupabaseS
Supabase12mo ago
rosali

Connection Timed Out

I'm getting this error message
Failed to connect to database: PrismaClientInitializationError: Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection-pool (Current connection pool timeout: 10, connection limit: 5)
    at t (/var/task/server/node_modules/@prisma/client/runtime/library.js:111:2488) {
  clientVersion: '5.17.0',
  errorCode: 'P2024'
}
prisma:error 
Invalid `prisma.course.upsert()` invocation:
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d


I set pool timeout to 60 seconds instead of 10 and I'm using the transaction pooler link with my supabase login password but I keep getting a connection error. I'm trying to debug with psql but I'm getting this error received invalid response to GSSAPI negotiation: S (I'm using the direct url for psql) and at this point I'm just really confused and not too sure what is going on. Would appreciate any help! Thank you!
Was this page helpful?