PrismaP
Prisma7mo ago
4 replies
doowb

Remix, prisma, neon, fly.io: Can't reach database server

Hi, I'm using prisma in a remix app deployed to fly.io and connecting to a neon db. Everything was deploying and working fine at first, then after a deployment on June 18th, the prisma client keeps showing "Can't reach database server at DATABASE_URL".

After trying out some ideas with someone from neon, I traced through my server logs to find the last time it worked, and found that between a successful deployment and the broken one, prisma v6.10.0 was related. PNPM automatically installed that when building my docker image and I'm not finding anything else that might be related.

I tried pinning prisma to v6.9.0, but I'm still getting the same error. I'm not sure how to reproduce this or if the problem is with the prisma client so I can't really open a bug report. Has anyone else see this issue? I'm not using any prisma adapters so I'm probably using a rust engine. I'm also able to run prisma cli commands and connect to the neon database with prisma studio without any issues.
Was this page helpful?