Troubleshooting Flask App on Heroku (works on local dev) [closed]
up vote
1
down vote
favorite
My Flask app works on my local environment and I was able to build successfully in heroku (after specifying a Procfile and requirements.txt with some of my flask dependencies in there). I go to my heroku dashboard (just on a free account until I can get it working successfully) and see the following (I have already started 1 free web dyno in resources and added the web: python app.py to my Procfile)
Here's the results in the tail of the log:
2018-12-02T00:24:28.411675+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=popularite.herokuapp.com request_id=db17b8ae-fef8-450a-8761-002c866bc589 fwd="" dyno= connect= service= status=503 bytes= protocol=https
2018-12-02T00:24:28.535604+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" request_id=f6f1f598-27ae-4f44-9b0a-2bd4dabd97b9 fwd="6" dyno= connect= service= status=503 bytes= protocol=https
It looks like my app has crashed accessing root directory, but I can't figure out why as it works on local dev?
heroku
closed as unclear what you're asking by G-Man, Stephen Harris, RalfFriedl, Jeff Schaller, sam Dec 3 at 16:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
1
down vote
favorite
My Flask app works on my local environment and I was able to build successfully in heroku (after specifying a Procfile and requirements.txt with some of my flask dependencies in there). I go to my heroku dashboard (just on a free account until I can get it working successfully) and see the following (I have already started 1 free web dyno in resources and added the web: python app.py to my Procfile)
Here's the results in the tail of the log:
2018-12-02T00:24:28.411675+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=popularite.herokuapp.com request_id=db17b8ae-fef8-450a-8761-002c866bc589 fwd="" dyno= connect= service= status=503 bytes= protocol=https
2018-12-02T00:24:28.535604+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" request_id=f6f1f598-27ae-4f44-9b0a-2bd4dabd97b9 fwd="6" dyno= connect= service= status=503 bytes= protocol=https
It looks like my app has crashed accessing root directory, but I can't figure out why as it works on local dev?
heroku
closed as unclear what you're asking by G-Man, Stephen Harris, RalfFriedl, Jeff Schaller, sam Dec 3 at 16:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My Flask app works on my local environment and I was able to build successfully in heroku (after specifying a Procfile and requirements.txt with some of my flask dependencies in there). I go to my heroku dashboard (just on a free account until I can get it working successfully) and see the following (I have already started 1 free web dyno in resources and added the web: python app.py to my Procfile)
Here's the results in the tail of the log:
2018-12-02T00:24:28.411675+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=popularite.herokuapp.com request_id=db17b8ae-fef8-450a-8761-002c866bc589 fwd="" dyno= connect= service= status=503 bytes= protocol=https
2018-12-02T00:24:28.535604+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" request_id=f6f1f598-27ae-4f44-9b0a-2bd4dabd97b9 fwd="6" dyno= connect= service= status=503 bytes= protocol=https
It looks like my app has crashed accessing root directory, but I can't figure out why as it works on local dev?
heroku
My Flask app works on my local environment and I was able to build successfully in heroku (after specifying a Procfile and requirements.txt with some of my flask dependencies in there). I go to my heroku dashboard (just on a free account until I can get it working successfully) and see the following (I have already started 1 free web dyno in resources and added the web: python app.py to my Procfile)
Here's the results in the tail of the log:
2018-12-02T00:24:28.411675+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=popularite.herokuapp.com request_id=db17b8ae-fef8-450a-8761-002c866bc589 fwd="" dyno= connect= service= status=503 bytes= protocol=https
2018-12-02T00:24:28.535604+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" request_id=f6f1f598-27ae-4f44-9b0a-2bd4dabd97b9 fwd="6" dyno= connect= service= status=503 bytes= protocol=https
It looks like my app has crashed accessing root directory, but I can't figure out why as it works on local dev?
heroku
heroku
edited Dec 2 at 8:33
Rui F Ribeiro
38.5k1479128
38.5k1479128
asked Dec 2 at 0:54
FlaskAp31
61
61
closed as unclear what you're asking by G-Man, Stephen Harris, RalfFriedl, Jeff Schaller, sam Dec 3 at 16:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by G-Man, Stephen Harris, RalfFriedl, Jeff Schaller, sam Dec 3 at 16:16
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes