Hi guys! First of all, great product, love using P...
# orm-help
r
Hi guys! First of all, great product, love using Prisma2 in production! Now i have the following problem, which gave me a lot of headache! Some info: I am running a production app on Google Cloud Run with a PubSub connected. The Cloud Run has a minimal instance of 1 and we are pinging it every minute to keep it "warm". Now often I receive this error, but have no clue how to solve it!
PrismaClientKnownRequestError2: Socket Timeout Error
at PrismaClientFetcher.request (/app/node_modules/@prisma/client/runtime/index.js:78585:15)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at runNextTicks (internal/process/task_queues.js:62:3)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async CardsService.getCard (/app/src/services/Cards.js:20:16)
at async PayNLTerminalService.saveNotification (/app/src/services/PayNLTerminalService.js:116:34) {
code: 'UND_ERR_SOCKET_TIMEOUT',
clientVersion: '2.10.2',
meta: undefined
}
Can anyone please help me?
r
Hey @Roy Bakker 👋 Could you update
@prisma/client
and
@prisma/cli
to the latest version and check again? If it still doesn’t work, do open an issue here so that we can look into this 🙂