1

伙计们,我尝试将 django 添加到 heruko,但是当我尝试通过给定域访问我的站点时,我遇到了一个问题,因为 Application error here is my error log kuapp.com request_id=3226d7fe-a42e-4c41-8618-74f00206f5af fwd= “103.49.121.34”测功机=连接=服务=状态=503字节=公关

otocol=https
2018-07-23T14:37:30.570428+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=m
xiondrf.herokuapp.com request_id=7bfb5e64-d420-4454-9ae2-bcc5845708f2 fwd="103.49.121.34" dyno= connect= service= status=50
3 bytes= protocol=https
2018-07-23T14:38:07.207498+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=mx
iondrf.herokuapp.com request_id=7172dd6c-03e3-4b97-a671-a8955e17a9b0 fwd="88.99.195.205" dyno= connect= service= status=503
 bytes= protocol=http
2018-07-23T14:38:07.399990+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mxiondrf.her
okuapp.com request_id=5ef69e04-2675-43c3-b498-1c31b9d734cc fwd="88.99.195.205" dyno= connect= service= status=503 bytes= pr
otocol=http
2018-07-23T14:38:10.972312+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mxiondrf.her
okuapp.com request_id=1269c22d-b338-4a5c-b3c5-eae226c0a479 fwd="103.49.121.34" dyno= connect= service= status=503 bytes= pr
otocol=https
2018-07-23T14:38:11.368496+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=m
xiondrf.herokuapp.com request_id=fe34bf01-5208-48f5-99f1-855268cc8853 fwd="103.49.121.34" dyno= connect= service= status=50
3 bytes= protocol=https

任何形式的帮助表示赞赏

4

1 回答 1

0

我也遇到了这个问题,在我的情况下,这是因为我的 Procfile 文件没有大写,procfile而不是 " Procfile",后者是正确的。还要确保您的个人资料包含 -

web: gunicorn MY_PROJECT.wsgi

于 2022-02-17T12:57:42.557 回答