heroku - 应用程序在 heroku 中崩溃,但在本地运行完美
问题描述
在将一个本地运行完美的简单应用程序部署到 heroku 时,我在日志中收到“应用程序崩溃”消息。我正在使用 Intellij IDEA。日志是:
2021-09-22T10:40:17.619945+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=vamos-a-ver.herokuapp.com request_id=572849f8-c62e-4820-9da1-e527d564dcd2 fwd="83.58.142.203" dyno= connect= service= status=503 bytes= protocol=https
2021-09-22T10:40:17.914018+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vamos-a-ver.herokuapp.com request_id=015556d8-f456-43d6-8a19-a047cc981785 fwd="83.58.142.203" dyno= connect= service= status=503 bytes= protocol=https
我将不胜感激任何帮助解决问题。谢谢你。
解决方案
推荐阅读
- mysql - MySQL更新查询子查询慢的地方
- javascript - 如何在 JavaScript 中找到两个数组之间的公共元素?
- html - 多次使用 br 标签来创建导航菜单是否合适?什么是更好的选择?
- python - 通过将数据帧的行和列索引与另一个数据帧的列匹配来重新格式化数据帧
- mongodb - Mongoose/MongoDB - 我可以通过映射包含的 id 数组来查找文档吗?
- python - 对将提取 html 代码并从网站显示它的 tkinter GUI 进行故障排除?
- c - 无符号整数的上溢和下溢
- javascript - 来自`function`的Javascript`new`的奇怪行为
- javascript - 'this' 隐含类型为 'any'
- pandas - 熊猫移动平均线日期