Application failed to respond

reinacchi
FREE

2 days ago

my rust axum api project keeps sending me a 502 bad gateway error when i can't seem to identify any issues at all.

$10 Bounty

2 Replies

reinacchi
FREE

2 days ago

c6c2bdd4-364d-4c5c-8fda-5bf0c54920e1


reinacchi
FREE

2 days ago

(hoping someone could look through it. it was working normally a while ago until this unknown behaviour keeps happening)


smolpaw
HOBBYTop 10% Contributor

2 days ago

Did you change the port your api was listening on recently but forgot to update in the application dashboard ?
or the hostname it's listening on ? 127.0.0.1/localhost doesn't work, Go with either 0.0.0.0 or all interfaces (::).

502 means the railway proxy is unable to reach your application so you the cause would be around how the api is exposing itself.


reinacchi
FREE

2 days ago

i got it fixed by recreating the railway service.


smolpaw
HOBBYTop 10% Contributor

2 days ago

So when you recreated the service it would have detected the new port and set it to that. correct ?


Application failed to respond - Railway Help Station