Heroku 日志 - 部署仪表板时出现错误 H10
Heroku log - error H10 while deploying dashboard
我按照 this article 的说明进行操作,但我的代码给出了错误:
at=error code=H10 desc="App crashed" method=GET path="/" host=peaceful-woodland-02831.herokuapp.com request_id=0c26d197-66d8-4c20-9a1d-f6357d771aee fwd="81.5.122.217" dyno= connect= service= status=503 bytes= protocol=https
2020-05-28T17:30:24.573582+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=peaceful-woodland-02831.herokuapp.com request_id=877a92c7-573b-4d35-90ff-338bbab28fba fwd="81.5.122.217" dyno= connect= service= status=503 bytes= protocol=https
我发现问题可能出在 Procfile 中,但没有任何更改,我什至尝试复制文章 Git 中的所有代码和文件。但仍然有同样的问题。
我在 heroku 中也有这样的日志:
2020-05-28T17:30:14.228953+00:00 app[web.1]: __import__(module)
2020-05-28T17:30:14.228999+00:00 app[web.1]: ModuleNotFoundError: No module named 'app'
但是没有应付调试。
两种代码在本地都能完美运行。知道我该如何解决吗?
我以某种神秘的方式帮助重启了 PC。我希望它能对以后的人有所帮助。
我按照 this article 的说明进行操作,但我的代码给出了错误:
at=error code=H10 desc="App crashed" method=GET path="/" host=peaceful-woodland-02831.herokuapp.com request_id=0c26d197-66d8-4c20-9a1d-f6357d771aee fwd="81.5.122.217" dyno= connect= service= status=503 bytes= protocol=https
2020-05-28T17:30:24.573582+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=peaceful-woodland-02831.herokuapp.com request_id=877a92c7-573b-4d35-90ff-338bbab28fba fwd="81.5.122.217" dyno= connect= service= status=503 bytes= protocol=https
我发现问题可能出在 Procfile 中,但没有任何更改,我什至尝试复制文章 Git 中的所有代码和文件。但仍然有同样的问题。
我在 heroku 中也有这样的日志:
2020-05-28T17:30:14.228953+00:00 app[web.1]: __import__(module)
2020-05-28T17:30:14.228999+00:00 app[web.1]: ModuleNotFoundError: No module named 'app'
但是没有应付调试。
两种代码在本地都能完美运行。知道我该如何解决吗?
我以某种神秘的方式帮助重启了 PC。我希望它能对以后的人有所帮助。