Reputation: 150
I have recently been trying to deploy my application to Heroku. I was following the documentation and everything but I'm getting this error now.
2020-03-12T21:46:36.154267+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=semsar-flask.herokuapp.com request_id=8c7e6604-97a5-4f5c-ae62-6c2edb73a4bb fwd="217.164.64.29" dyno= connect= service= status=503 bytes= protocol=https
This is my Procfile:
web: gunicorn wsgi: app
Wsgi.py:
from wbp import app
Did I make a mistake filling in those two files or what? Please do explain since I'm relatively new to this.
Upvotes: 0
Views: 326
Reputation: 9
For the app crashed h10 error check that your SECRET_KEY is added to Heroku. Also when logged in to Heroku, click on 'More' in the top right of the page and then 'Restart all dynos'. Both have helped me in the past with this specific error.
Upvotes: 1
Reputation: 7744
An H10
error could mean many possibilities and answering all solutions here would be tedious. You should also read here and see if any of those are helpful.
Also try to avoid empty spaces in Procfile
. So try changing from this
web: gunicorn wsgi: app
To this
web:gunicorn wsgi:app
and see if it works.
Upvotes: 1