H14 error in heroku - “no web processes running”

后端 未结 6 1019
傲寒
傲寒 2020-12-05 12:42

error H14 happen while deploying to heroku this is my procfile:

web: gunicorn -w 4 -b 0.0.0.0:$PORT -k gevent main:app

log on heroku:

6条回答
  •  臣服心动
    2020-12-05 13:00

    The issue here is that you're not running any web dynos. You can tell Heroku to do this via:

    $ heroku ps:scale web=1
    

    This will force Heroku to spin up a web dyno, thereby executing your gunicorn command.

提交回复
热议问题