Error 522, django app has been working for several years and works locally on gunicorn
k-cardon
HOBBYOP

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?

Solved

10 Replies

k-cardon
HOBBYOP

a year ago

6627cb47-5276-4a67-adc8-5a3776405bc9


a year ago

do you mean 502?


a year ago

yep its a 502, please see our docs on this topic -


k-cardon
HOBBYOP

a year ago

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 migrate && python 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


k-cardon
HOBBYOP

a year ago

this one?


a year ago

thats quite wrong unfortunately, these are the correct settings

kristencardon.com -> CNAME d1bygi72.up.railway.app
cardonwebstudios.com -> CNAME mcojla0i.up.railway.app


k-cardon
HOBBYOP

a year ago

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


Loading...