Python 应用程序在开发中工作,但部署后出现错误H10

Python 应用程序在开发中工作,但部署后出现错误H10,python,heroku,Python,Heroku,我将我的应用程序部署到heroku,当我运行heroku日志--tail命令时,我得到了H10错误日志。 错误日志: 2020-11-21T12:40:27.833034+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=uploaq.herokuapp.com request_id=d8563da4-4cfc-43d6-ad04-cb95

我将我的应用程序部署到heroku,当我运行
heroku日志--tail
命令时,我得到了H10错误日志。 错误日志:

2020-11-21T12:40:27.833034+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=uploaq.herokuapp.com request_id=d8563da4-4cfc-43d6-ad04-cb95d8fe3047 fwd="197.210.227.20" dyno= connect= service= status=503 bytes= protocol=https
2020-11-21T12:40:28.019331+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=uploaq.herokuapp.com request_id=c5a1a84d-3c79-4857-ab38-9f15a16b12da fwd="197.210.54.197" dyno= connect= service= status=503 bytes= protocol=https
2020-11-21T12:40:28.428222+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=uploaq.herokuapp.com request_id=be4ba73e-ebf4-40ac-b6a2-3c07516ae9e0 fwd="197.210.55.57" dyno= connect= service= status=503 bytes= protocol=https

我的问题的解决方案是我的procfile

    web: gunicorn --bind 0.0.0.0:$PORT wsgi:app
由于我是从windows pc部署的,所以我必须创建一个procfile.windows文件并将代码

    web: python wsgi.py runserver 0.0.0.0:5000