a year 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?
13 Replies
a year ago
So the issue here is only locally?
a year 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.
a year ago
Yes, I keep getting it locally :/
a year ago
Actually it worked only one time so far when I tried to run a command but keeps failing now
a year ago
Can you try another network or increase the timeout?
a year ago
I don't know a lot about networking I'm just on my pc 😅
a year ago
By network I would mean a mobile network, basically any other internet access you got
a year ago
Oh I see
a year ago
Let me check
a year ago
Wow! It worked!
a year ago
That's strange
Status changed to Solved brody • about 1 year ago
a year ago
Great to know. As I said earlier, this is definitely a problem with your ISP or firewall. I recommend looking into it.
a year ago
Do you mind sharing your mobile network provider?