jincod/dotnetcore-buildpack Buildpack 中的 Heroku R10 错误
Heroku R10 error in jincod/dotnetcore-buildpack Buildpack
我是 Heroku 的新手,但我正在构建一个需要保持在线状态并从另一台服务器接收和处理事件的应用程序。我不断收到相同的日志:
2021-07-10T22:34:14.667474+00:00 heroku[web.1]: Starting process with command `cd /app/heroku_output && ./ForceGamesHelper`
2021-07-10T22:34:46.000000+00:00 app[api]: Build succeeded
2021-07-10T22:35:15.055194+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-07-10T22:35:15.105411+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-07-10T22:35:15.191790+00:00 heroku[web.1]: Process exited with status 137
2021-07-10T22:35:15.258254+00:00 heroku[web.1]: State changed from starting to crashed
我通过 while
循环和可以异步更改的退出条件使进程保持活动状态。
我尝试过围绕 Procfiles 之类的不同解决方案,但我尝试过的命令似乎不存在于我的项目中。
非常感谢任何帮助!
我猜你正在尝试 运行 使用网络进程的 .net 核心控制台应用程序(试图收听 $PORT 的 heroku 无法执行并崩溃)。
尝试使用自定义 Procfile 并设置工作进程而不是 web。
Heroku 进程模型 https://devcenter.heroku.com/articles/process-model
在此处检查现有问题 https://github.com/jincod/dotnetcore-buildpack/search?q=worker&type=issues
我是 Heroku 的新手,但我正在构建一个需要保持在线状态并从另一台服务器接收和处理事件的应用程序。我不断收到相同的日志:
2021-07-10T22:34:14.667474+00:00 heroku[web.1]: Starting process with command `cd /app/heroku_output && ./ForceGamesHelper`
2021-07-10T22:34:46.000000+00:00 app[api]: Build succeeded
2021-07-10T22:35:15.055194+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-07-10T22:35:15.105411+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-07-10T22:35:15.191790+00:00 heroku[web.1]: Process exited with status 137
2021-07-10T22:35:15.258254+00:00 heroku[web.1]: State changed from starting to crashed
我通过 while
循环和可以异步更改的退出条件使进程保持活动状态。
我尝试过围绕 Procfiles 之类的不同解决方案,但我尝试过的命令似乎不存在于我的项目中。 非常感谢任何帮助!
我猜你正在尝试 运行 使用网络进程的 .net 核心控制台应用程序(试图收听 $PORT 的 heroku 无法执行并崩溃)。
尝试使用自定义 Procfile 并设置工作进程而不是 web。
Heroku 进程模型 https://devcenter.heroku.com/articles/process-model 在此处检查现有问题 https://github.com/jincod/dotnetcore-buildpack/search?q=worker&type=issues