Deployment crashing when deploying after a while, database-port related issue
lizarazukevin
TRIALOP
2 years ago
django.db.utils.OperationalError: connection to server at "monorail.proxy.rlwy.net" (35.212.181.170), port 59555 failed: server closed the connection unexpectedly
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
2 years ago
Hello,
This was due to some maintenance we did today on the TCP proxy, to handle this your application should always attempt a reconnect as there would be no guarantee that a TCP connection will stay active for long durations.
Either way, we would recommend you use the private network to connect to the database for a faster connection that does not come with any egress costs.