#Error: P1001: Can't reach database server at xxxx, Please make sure your database server ...

24 messages · Page 1 of 1 (latest)

pale glacier
#

I'm using PostgreSQL

Basically, every time I deploy my application (a simple express app using Prisma), this error is triggered. Sometimes it takes two to three minutes to successfully connect, and other times it continues until the application crashes. I've already switched databases once, but the issue remains the same. It's incredibly frustrating. (I'm writing this post now because half an hour has passed, and I still haven't successfully deployed.)

I have several applications deployed on Railway, but this is the first time I've encountered this problem.

Previously, I had a Developer plan account, but now it has been changed to Hobby. I'm not sure if that is related to the issue.

Here is my ServiceID: b5e0ccd6-5868-4f37-aefa-01fa0a8dda6b.

heavy roostBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

west vigilBOT
#

Project ID: b5e0ccd6-5868-4f37-aefa-01fa0a8dda6b

tall wadi
#

Looks like it has connected successfully now?

pale glacier
#

I'm not sure when it will be deployed successfully.

#

maybe you can check how many times I restarted😂

tall wadi
#

Wanna deploy again for me? I want to see the error while it happens.

#

Because I don't think it's from our side as your DB seems fine.

pale glacier
#

Okay, redeploying

tall wadi
#

So I see the error in your logs but the database is fine.

#

You can validate this yourself by connecting directly to the DB.

pale glacier
tall wadi
#

I am not sure, I'd imagine it's an application issue.

pale glacier
#

Okay, I'll take a look... I hope it is an application issue so that I can solve it by myself

#

Btw, how can I change my plan? I can only cancel my plan in 'Manage Plan'

tall wadi
#

You're already on the Hobby plan.

pale glacier
#

Pro. Once the regions feature goes live

tall wadi
#

If you click on your avatar on the top right, you'll see the "Create a Team" option.

full helm
#

@pale glacier did you figure out the fix? im having the exact same issue

deft sigil
#

Having the same here from yesterday!
I've tried multiple times, even migrations ran successfully and i was able to connect the Db when running the web server locally.
Is everything OK from railway side?

Project ID: 091bd9c2-1eea-4e89-a6a6-a71528d9ca60