prisma / prisma1

💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]
https://v1.prisma.io/docs/
Apache License 2.0
16.54k stars 862 forks source link

Intermittent P1001 - "Can't reach database server..." #5172

Closed NAllred91 closed 3 years ago

NAllred91 commented 3 years ago

Describe the bug While my app is running, I occasionally see logs for error P1001. The app continues to function and has access to the database for subsequent requests.

To Reproduce This seems to be random, but seems to occur most often when the app is under load and has multiple connections to the database.

Expected behavior I'd like this error to provide more information. It is a strange error to receive while your app is actively connected to the database.

Versions (please complete the following information):

This error very frequently occurs simultaneously with P2024. I wonder if P2024 is the real error I'm experiencing and P1001 is being thrown by mistake?

NAllred91 commented 3 years ago

Wrong Prisma repo