簡體   English   中英

無法在 Heroku 上部署我的基於 django 的 API

[英]Unable to deploy my django based API on Heroku

我嘗試將基於 django 的 api 部署到 heroku,但是在過去的幾個生命周期中我遇到了同樣的錯誤

錯誤日志:

*2021-01-31T11:42:30.163925+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=hospagoapi.herokuapp.com request_id=ba1f93a1-50ec-492e-b637-a3df4a1ab8d0 fwd="42.110.150.136" dyno= connect= service= status=503 bytes= protocol=https
2021-01-31T11:42:35.081501+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=hospagoapi.herokuapp.com request_id=abbd9954-86b9-41a6-b895-a9261ac12082 fwd="42.110.150.136" dyno= connect= service= status=503 bytes= protocol=https
2021-01-31T11:42:39.924144+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/v1/users" host=hospagoapi.herokuapp.com request_id=32eddcbd-7b44-49ef-9d1f-244f29681f05 fwd="42.110.150.136" dyno= connect= service=
 status=503 bytes= protocol=https
2021-01-31T11:42:41.717524+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=hospagoapi.herokuapp.com request_id=79c677cd-4a6c-4c7e-9ea5-db60a2732f2f fwd="42.110.150.136" dyno= connect= service= status=503 bytes= protocol=https*

Hospagoapi 是我的應用名稱

我的生產 git 回購: https://github.com/RachitKumar205/hospago

我提前為我的問題中的任何錯誤道歉,這是我第一次發帖

更新:原來 pipenv 引起了問題。 我刪除了它,修改了需求文件並推送了代碼。 之后它開始工作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM