R
Railwayβ€’4mo ago
Hys

Flask application failed to respond

Its running according to the logs, but it displays on the screen it failed to respond
Solution:
use gunicorn
Jump to solution
18 Replies
Percy
Percyβ€’4mo ago
Project ID: N/A
Hys
Hysβ€’4mo ago
No description
Hys
Hysβ€’4mo ago
omw
Solution
Brody
Brodyβ€’4mo ago
use gunicorn
Hys
Hysβ€’4mo ago
No description
Brody
Brodyβ€’4mo ago
Procfile needs a capital P
Hys
Hysβ€’4mo ago
πŸ˜„ still no responding
Brody
Brodyβ€’4mo ago
deploy logs please
Hys
Hysβ€’4mo ago
* Serving Flask app 'main' * Debug mode: off WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://127.0.0.1:5000 Press CTRL+C to quit procfile was already renamed to Procfile
Brody
Brodyβ€’4mo ago
do you have the start command set somewhere else? like the service settings
Hys
Hysβ€’4mo ago
in railway no
Brody
Brodyβ€’4mo ago
build logs please
Hys
Hysβ€’4mo ago
ok now the deploy logs are different
No description
Hys
Hysβ€’4mo ago
hold up exporting build ok its working now lol thank u bestie
Brody
Brodyβ€’4mo ago
no prob!
Hys
Hysβ€’4mo ago
dumb mf had a starting command removed it and worked
Brody
Brodyβ€’4mo ago
haha and you even said no when i asked you