NeonN
Neon2y ago
8 replies
latin-coral

My website can't work anymore with my new neon db

Hello i have a big problem, i migrate my vercel db to neon db,

My database, is so slow, and the website is slow

The error is basicaly :

Invalid prisma.user.findFirst() invocation: website-container
12 mars 2024 à 07:15 (UTC+1:00) 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: 3) { website-container
12 mars 2024 à 07:15 (UTC+1:00) message: '\n' + website-container
12 mars 2024 à 07:15 (UTC+1:00) 'Invalid prisma.user.findFirst() invocation:\n' + website-container
12 mars 2024 à 07:15 (UTC+1:00) '\n' + website-container
12 mars 2024 à 07:15 (UTC+1:00) '\n' + website-container
12 mars 2024 à 07:15 (UTC+1:00) '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: 3)', website-container
12 mars 2024 à 07:15 (UTC+1:00) stack: 'PrismaClientKnownRequestError: \n' + website-container
12 mars 2024 à 07:15 (UTC+1:00) 'Invalid prisma.user.findFirst() invocation:\n' + website-container
12 mars 2024 à 07:15 (UTC+1:00) '\n' +


PS: i'm using prisma
I don't know what i need to change i added : "?pgbouncer=true&connect_timeout=15" to my prisma url so idk what to do
It's a postgres db
Prisma
Prisma ORM's query engine creates a connection pool to store and manage database connections.
Connection pool
Was this page helpful?