N
Neon2y ago
genetic-orange

NextJS and Prisma: Can't reach database server at `ep-dark-dust-a2bf50ze-pooler....

I am getting the error: Can't reach database server at ep-dark-dust-a2bf50ze-pooler.eu-central-1.aws.neon.tech:5432 Please make sure your database server is running at ep-dark-dust-a2bf50ze-pooler.eu-central-1.aws.neon.tech:5432. My app is deployed at Vercel and works there perfectly but I am unable to connect to it locally. I am using generous timeouts as well as pooling: @ep-dark-dust-a2bf50ze-pooler.eu-central-1.aws.neon.tech/alyx?sslmode=require&connect_timeout=10000&connection_limit=5&pool_timeout=1000 Any ideas on how to fix this? Thanks so much!
4 Replies
foreign-sapphire
foreign-sapphire2y ago
Can you connect using psql '<your-database-url>' from a terminal? Are you using WSL? @Tim
sensitive-blue
sensitive-blue14mo ago
having the same issue where when I use pooler, I 3/10 queries get connection issues, and they last 10 mins ish without pooler, no issue connecting via terminal works seems to be a prisma issue @ShinyPokemon
deep-jade
deep-jade13mo ago
i am also facing same issue
correct-apricot
correct-apricot6mo ago
facing same issue, did you guys fixed it ?

Did you find this page helpful?