a month ago
Your pre-deploy migration command is timing out when trying to connect to postgres.railway.internal:5432. Here's what's happening:
The Problem:
DNS resolution is working (both IPv4 and IPv6 addresses resolve correctly)
TCP connections are timing out on both addresses
The Postgres service is online and healthy
Both services are in the same region (us-east4-eqdc4a)
This happened consistently across two consecutive deployments
Why this matters: When DNS works but TCP fails, it's typically a network connectivity issue at the infrastructure level—not a configuration problem on your end. Your DATABASE_URL reference is correct, the Postgres service is running, and the code change in this commit is unrelated.
What to do: This appears to be an internal networking issue that requires Railway support to investigate. The problem is likely:
A firewall/network policy blocking the connection
A routing issue between the services at the infrastructure level
A transient issue with the internal DNS or network layer
Next steps: Contact Railway support with this deployment ID (d11b03f1-7822-4dc6-8ee5-e14879cad81f) and mention:
Pre-deploy migration timing out on postgres.railway.internal:5432
DNS resolves but TCP connections fail on both IPv4 and IPv6
Both services are in the same region and Postgres is online
Error occurs consistently across multiple deployments
They can check the network logs and routing configuration to identify what's blocking the connection.
2 Replies
a month ago
Your Postgres service ("LL-Postgres") was last deployed on March 29, and platform networking changes since then can cause existing database services to become unreachable even though they appear healthy. Redeploying the Postgres service should restore connectivity - you can do this from the service's deployments tab by clicking the three-dot menu on the latest deployment and selecting "Redeploy".
Status changed to Awaiting User Response Railway • about 1 month ago
Status changed to Solved jbjornson • about 1 month ago
a month ago
Redeploying the Postgres service has fixed the issue. I swear I tried that earlier today, but I guess not. Thanks very much for the quick reply and solution!
Status changed to Awaiting Railway Response Railway • about 1 month ago
Status changed to Solved Railway • about 1 month ago