Can't connect to DATABASE_PUBLIC_URL

4 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

4 months ago

So the issue here is only locally?


4 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.

1437791585818509300


4 months ago

Yes, I keep getting it locally :/


4 months ago

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


4 months ago

Can you try another network or increase the timeout?


4 months ago

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


4 months ago

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


4 months ago

Oh I see


4 months ago

Let me check


4 months ago

Wow! It worked!


4 months ago

That's strange


Status changed to Solved brody 4 months ago


4 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?


Loading...