Mitolius
Mitolius
PPrisma
Created by Mitolius on 1/19/2025 in #help-and-questions
Random accelerate network error
Error:
Invalid `prisma.usersProfiles.findFirst()` invocation:


Can't reach database server at `01jg46vq3dpsmq7r9wv0peq7h6.cdg1.db.prisma-data.net:5432`

Please make sure your database server is running at `01jg46vq3dpsmq7r9wv0peq7h6.cdg1.db.prisma-data.net:5432`.

Error:
Invalid `prisma.usersProfiles.findFirst()` invocation:


Can't reach database server at `01jg46vq3dpsmq7r9wv0peq7h6.cdg1.db.prisma-data.net:5432`

Please make sure your database server is running at `01jg46vq3dpsmq7r9wv0peq7h6.cdg1.db.prisma-data.net:5432`.

maybe not related to my problem but it seems you have a problem on your side:, it happened around 14:40 and it's back to the normal, db seems unreachable for like 2 minutes
12 replies
PPrisma
Created by Mitolius on 1/19/2025 in #help-and-questions
Random accelerate network error
Ok, I found the logs, I have multiple error message, i suspect it all come from the same inital error: You search on your side starting at 2025-01-19 00:15 (UTC), I don't have any more information as it's random and happen rarely. The exact same code is running for 3 days without errors
2025-01-19T00:15:41.037Z [ERROR]: SYNC [CUSTOMER]: Error PrismaClientKnownRequestError:
Invalid `prisma.syncConfigs.findUnique()` invocation:


Cannot fetch data from service:
Unable to connect to the Accelerate API. This may be due to a network or DNS issue. Please check your connection and the Accelerate connection string. For details, visit https://www.prisma.io/docs/accelerate/troubleshoot.
at Yr.handleRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:7527)
at Yr.handleAndLogRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6851)
at Yr.request (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6564)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async l (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:29:9535)
2025-01-19T00:15:41.037Z [ERROR]: SYNC [CUSTOMER]: Error PrismaClientKnownRequestError:
Invalid `prisma.syncConfigs.findUnique()` invocation:


Cannot fetch data from service:
Unable to connect to the Accelerate API. This may be due to a network or DNS issue. Please check your connection and the Accelerate connection string. For details, visit https://www.prisma.io/docs/accelerate/troubleshoot.
at Yr.handleRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:7527)
at Yr.handleAndLogRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6851)
at Yr.request (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6564)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async l (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:29:9535)
Invalid `prisma.syncConfigs.findUnique()` invocation:


This request could not be understood by the server: {"type":"UnknownJsonError","body":{"code":"P6008","message":"Accelerate was not able to connect to your database. The underlying error is: Health Check of Query Engine timed out."}} (The request id was: 9042a80e3e3ed6da)
at Yr.handleRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:7527)
at Yr.handleAndLogRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6851)
at Yr.request (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6564)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async l (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:29:9535)
Invalid `prisma.syncConfigs.findUnique()` invocation:


This request could not be understood by the server: {"type":"UnknownJsonError","body":{"code":"P6008","message":"Accelerate was not able to connect to your database. The underlying error is: Health Check of Query Engine timed out."}} (The request id was: 9042a80e3e3ed6da)
at Yr.handleRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:7527)
at Yr.handleAndLogRequestError (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6851)
at Yr.request (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:20:6564)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async l (/usr/src/app/node_modules/.prisma/client/runtime/edge.js:29:9535)
12 replies
PPrisma
Created by Mitolius on 1/19/2025 in #help-and-questions
Random accelerate network error
quadratechdev@gmail.com
12 replies