Can't connect to DATABASE_PUBLIC_URL

10 months ago

django.db.utils.OperationalError: connection to server at "crossover.proxy.rlwy.net" (66.33.22.252), port 34005 failed: timeout expired

Database URL: postgresql://postgres:********************************@crossover.proxy.rlwy.net:34005/railway

Trying to access locally on my machine.

No obvious reason why it's not connecting.

Database is live on railway, connects with hosted project just fine, just keeps timing out now.

Django project. I set the DATABASE_URL to the public url but not working.

Am I missing a setting somewhere?

Solved$10 Bounty

13 Replies

10 months ago

So the issue here is only locally?


10 months ago

I have no problems when trying to reach your database. I would make sure that your ISP firewall does not block any Railway traffic.

1437791585818509365


10 months ago

Yes, I keep getting it locally :/


10 months ago

Actually it worked only one time so far when I tried to run a command but keeps failing now


10 months ago

Can you try another network or increase the timeout?


10 months ago

I don't know a lot about networking I'm just on my pc 😅


10 months ago

By network I would mean a mobile network, basically any other internet access you got


10 months ago

Oh I see


10 months ago

Let me check


10 months ago

Wow! It worked!


10 months ago

That's strange


Status changed to Solved brody 10 months ago


10 months ago

Great to know. As I said earlier, this is definitely a problem with your ISP or firewall. I recommend looking into it.


Do you mind sharing your mobile network provider?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...