【发布时间】:2018-08-16 10:04:29
【问题描述】:
这是它给出的错误
2018-03-08T05:56:03.000000+00:00 app[api]: - Build succeeded
2018-03-08T05:57:34.534615+00:00 heroku[router]: - at=error code=H14 desc="No web processes running" method=GET path="/" host=infinite-ridge-58576.herokuapp.com request_id=b954f4aa-d2e3-4c98-80ce-3429d3c53ccc fwd="106.51.27.121" dyno= connect= service= status=503 bytes= protocol=https
2018-03-08T06:14:56.524496+00:00 heroku[router]: - at=error code=H14 desc="No web processes running" method=HEAD path="/" host=infinite-ridge-58576.herokuapp.com request_id=0563c94b-b490-4873-bcd1-de3edefbcba2 fwd="107.23.223.97" dyno= connect= service= status=503 bytes= protocol=http
这是一个 python 网络应用程序,它的 repo 是here
即使在使用类似 procfile 之后
procfile:heroku ps:scale web=1
像这样
procfile:web: python app.py runserver 0.0.0.0:5000
【问题讨论】:
-
你需要使用一个procfile,否则它怎么知道要执行什么?
-
@Burhan kahlid 即使使用 procfile 我仍然有同样的错误