I'm getting `PrismaClientInitializationError: Erro...
# help
r
I'm getting
PrismaClientInitializationError: Error querying the database: db error: ERROR: no more connections allowed (max_client_conn)
using Supabase PG with pgbouncer in a NextJS/Vercel deployment (with serverless functions). I've followed Prisma serverless instructions (https://www.prisma.io/docs/guides/performance-and-optimization/connection-management#serverless-environments-faas). I don't really see how to investigate where the issue could come from, having not much information on pgbouncer's instance. @User ! I see you encountered the same issue, did you find a solution? Thanks for the help!
Looking at the numbers of connections, doesn't seem overloaded. Traffic is far from being critical yet. I'm assuming there is a configuration issue, but I have a hard time discovering where. My Vercel deployment using the
...6543/postgres?pgbouncer=true
variant.
Running on hosted Supabase with the Pro tier.