Flask App: Application Failed to Respond

2 years 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

2 years 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


2 years ago

Thank you brody, here are the logs


2 years ago

what's your start command?


2 years 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


2 years ago

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

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

Status changed to Solved Railway over 1 year ago


2 years ago

Working now, thanks!