我制作了这个项目并成功将其部署在 Heroku 上并且运行正常,两个月后我再次检查它并且运行正常,但是今天当我尝试打开网站链接时它显示应用程序错误。
日志如下:
2022-12-06T08:17:30.897980+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=limitless-shelf-83830.herokuapp.com request_id=d0c862ec-c21d-4e94-94e5-f6fed3d71af6 fwd="103.141.116.193" dyno= connect= service= status=503 bytes= protocol=https
2022-12-06T08:17:31.345120+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=limitless-shelf-83830.herokuapp.com request_id=a98c5850-0aa3-413d-94d9-4480a218ec3d fwd="103.141.116.193" dyno= connect= service= status=503 bytes= protocol=https
Run Code Online (Sandbox Code Playgroud)
这是我这边的问题还是heroku服务器宕机了?导致此错误的原因是什么以及可能的解决方案是什么?
我尝试跑步
heroku ps:scale web=1
Run Code Online (Sandbox Code Playgroud)
但这没有用。
编辑:我发现了这个问题,Heroku 从 2022 年 11 月 28 日起停止提供免费计划,我将其部署为免费服务器。