如何解决在heroku的服务器上运行django应用程序时出现的错误?

r6vfmomb  于 2022-11-13  发布在  Go
关注(0)|答案(1)|浏览(92)

我创建了Django应用程序,现在我在Heroku应用程序上运行它,我的procfile和其他东西如下所示。但是当我在Heroku上构建它时,它成功地上传了,但没有在网站上运行。这个应用程序在localhost上运行很好,但没有在网上运行。
听到的是proc文件web: waitress-server --port=$PORT todoapp.wsgi:application
收听是最后一个日志

2022-01-24T07:20:24.200304+00:00 app[api]: Deploy 5e0ae6c8 by user zeelmehta.zm31@gmail.com
2022-01-24T07:20:24.200304+00:00 app[api]: Release v10 created by user zeelmehta.zm31@gmail.com
2022-01-24T07:20:33.000000+00:00 app[api]: Build succeeded
2022-01-24T07:20:40.938065+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=todoapp-zeel.herokuapp.com request_id=81d8bb3e-5f6c-4f37-8be0-90508cebef10 fwd="157.32.119.168" dyno= connect= service= status=503 bytes= protocol=https
2022-01-24T07:20:41.630709+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=todoapp-zeel.herokuapp.com request_id=87aff06b-aff3-4846-9abc-95b1db51d632 fwd="157.32.119.168" dyno= connect= service= status=503 bytes= protocol=https
2022-01-24T07:20:55.134817+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=todoapp-zeel.herokuapp.com request_id=9a920057-d443-4404-badd-493951c0c196 fwd="157.32.119.168" dyno= connect= service= status=503 bytes= protocol=https
2022-01-24T07:20:55.760932+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=todoapp-zeel.herokuapp.com request_id=0f0b6bfc-2181-4eb0-b0af-8e444058b163 fwd="157.32.119.168" dyno= connect= service= status=503 bytes= protocol=https```

please help me to solve this error
lsmepo6l

lsmepo6l1#

应用程序名称:应用程序
更改服务器以提供服务

相关问题