a year ago
Hi, please help me troubleshoot this? My django app has been hosted on railway since 2023, just found today that it's down and returning error 522 even though I don't see errors in the build logs (and redepoloyed) and it works locally on gunicorn. Is there something new on Railway affecting my app?
10 Replies
a year ago
do you mean 502?
a year ago
yep its a 502, please see our docs on this topic -
thanks for the advice -- this is the error message I'm getting. I read those docs you linked and I'm not sure that's the problem (I'm not using a target port, and my procfile is unchanged:
web: python [manage.py](manage.py) migrate && python [manage.py](manage.py) collectstatic --no-input && gunicorn personal_portfolio.wsgi
and my app is not under a heavy load). Could you help me find a different solution? I'm at a loss.
a year ago
show me your cloudfare dns info please
a year ago
thats quite wrong unfortunately, these are the correct settings
[kristencardon.com](kristencardon.com) -> CNAME [d1bygi72.up.railway.app](d1bygi72.up.railway.app)[cardonwebstudios.com](cardonwebstudios.com) -> CNAME [mcojla0i.up.railway.app](mcojla0i.up.railway.app)
that fixed the problem, thanks so much! not sure why it was working before, I set this up a while ago so can't remember the details, but I'm grateful for your help!
a year ago
happy to help!
a year ago
!s
Status changed to Solved brody • about 1 year ago