2 months ago
I can't connect to my website. I keep getting this message: Server Error (500). Refreshing doesn't help.
7 Replies
Status changed to Open Railway • about 2 months ago
Status changed to Solved rich4523 • about 2 months ago
2 months ago
I am still getting the message Server Error(500) when I try to log in to my website
Status changed to Awaiting Railway Response Railway • about 2 months ago
2 months ago
no. The last deployment was 3 months ago and the status is active
2 months ago
Try redeploying your service, it might resolve the issue. If it doesn't, check the deploy logs for any errors.
2 months ago
It redeploys successfully then crashes about a minute later. I get this error message: django.db.utils.OperationalError: connection to server at "mainline.proxy.rlwy.net" (66.33.22.234), port 19358 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.2 months ago
You are using the public URL to connect to your database from your django app. You should use the internal URL instead. Not only it's most likely to resolve the issue, but you decrease latency, and you won't be billed for egress charges.
darseen
You are using the public URL to connect to your database from your django app. You should use the internal URL instead. Not only it's most likely to resolve the issue, but you decrease latency, and you won't be billed for egress charges.
2 months ago
I redeployed the database and it worked. Thanks.
Status changed to Open brody • about 2 months ago