Application failed to respond after successful deployment - FastAPI

tuanthi
PRO

5 days ago

Hi team,

After deployment, I got this error visiting the backend link:

Application failed to respond

This error appears to be caused by the application.

If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.

If you are a visitor, please contact the application owner or try again later.

Build and Deploy Logs look fine, HTML logs show a bunch of 502

Thanks so much,

Tuan

$10 Bounty

3 Replies

Railway
BOT

5 days ago


5 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 5 days ago


guitartsword
HOBBY

5 days ago

Hi tuanthi, do you have a Dockerfile? Are you using pip, poetry or uv? Let me know what is your configuration so I can help you solve this issue :)


tuanthi
PRO

5 days ago

Hi guys, thanks for responding, turned out I have the wrong settings in my startup command ($PORT), setting everything up through railway.json now solved the problem. Thanks for looking into this guys!


Application failed to respond after successful deployment - FastAPI - Railway Help Station