flask server Application failed to respond
mokrug
HOBBYOP

2 years ago

locally everything is fine on railway: Application failed to respond

6 Replies

brody
EMPLOYEE

2 years ago

deploy logs please -


brody
EMPLOYEE

2 years ago

n/a


mokrug
HOBBYOP

2 years ago

1225129070778384600


brody
EMPLOYEE

2 years ago

You're running a development server, you'll want to use gunicorn to run your server.

to do that, add gunicorn to requirements.txt
your start command would look something like this gunicorn main:app


mokrug
HOBBYOP

2 years ago

worked ty


brody
EMPLOYEE

2 years ago

no prob


Loading...