R
Railway3mo ago
teddy34

flask server Application failed to respond

locally everything is fine on railway: Application failed to respond
Solution:
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...
Jump to solution
6 Replies
Percy
Percy3mo ago
Project ID: N/A
teddy34
teddy343mo ago
No description
Solution
Brody
Brody3mo 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
teddy34
teddy343mo ago
worked ty
Brody
Brody3mo ago
no prob