prisma / blogr-nextjs-prisma

111 stars 83 forks source link

ERROR P1001: Can't reach database serve #34

Open Sun-Mountain opened 9 months ago

Sun-Mountain commented 9 months ago

I am following the directions to this tutorial, and I am stuck on pushing the database to vercel using the command npx prisma db push but I get this error:

Error: P1001: Can't reach database server at `DBNAME.us-east-1.postgres.vercel-storage.com`:`5432`

Please make sure your database server is running at `DBNAME.us-east-1.postgres.vercel-storage.com`:`5432`.

I have double checked to make sure the variables are correct, I've deleted and rebuilt, and its still the same. I cannot connect vercel database to any local. (Even Postico.)

Salimer commented 8 months ago

I am facing the same issue. I noticed that you are not using the default region like me. I hope you have found a solution for it

badJaguar commented 7 months ago

@Sun-Mountain If you are working with VPN so please turn it off and restart running the npx prisma db push command.