简体   繁体   中英

H10 error in heroku after deploying the python app

在此处输入图像描述 I have scrape website data using python BeautifulSoup. And after successfully deploying it on heroku it gives me the H10 error which is app creashed. I did not understand this error.

My Procfile has... web: run this thing

I cannot understand the cause of error that where this error occurs.

The H10 Heroku error is fairly vague, it is just thrown when an app crashes. However, some reasons for an H10 error include:

  1. Procfile bug
  2. Missing necessary environment variables
  3. PORT as Heroku environment variable

H10 is usually thrown in Python when there is an error in your Procfile, so perhaps look into that. I suggest installing gunicorn which is a WSGI HTTP server.

Some inspiration for the Procfile is linked here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM