Flask App: Application Failed to Respond

a year ago

I created a project from my GitHub repository (https://github.com/timagonch/clone), all logs look good, no errors, but when I go to the website it says "Application Failed to Respond" . I tried to do what this user did (https://help.railway.app/questions/simple-flask-app-application-failed-to-62082eb9?q=flask+) but it did not help.
Any help is appreciated, thanks.

Solved

6 Replies

a year ago

hey I actually had to delete that thread just now so that other users in the future don't try to follow their advice, as it would not be the correct solution.

please use this https://bookmarklets.up.railway.app/log-downloader/
to download and attach your logs here


a year ago

Thank you brody, here are the logs


a year ago

what's your start command?


a year ago

I dont have a custom start command, but in Docker file I just have "CMD ["gunicorn", "-b", "0.0.0.0:8080", "app:app"]"
Is that what you were asking? Im pretty new to this, so forgive me


a year ago

yeah that's the start command, use this instead -

CMD ["gunicorn", "app:app"]

Status changed to Solved Railway over 1 year ago


a year ago

Working now, thanks!


Flask App: Application Failed to Respond - Railway Help Station