AkhileshNS / heroku-deploy

A simple github action that dynamically deploys an app to heroku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heroku app fails to bind to port within 60 seconds of launch

TarmoJussila opened this issue · comments

Description:

Heroku app fails to bind to port within 60 seconds of launch. The process is stopped with "SIGKILL" and app crashes. Heroku page displays "Application error" instead of app content.

Terminal output:

2022-04-14T17:29:44.492351+00:00 app[web.1]: > app-name@0.1.0 start
2022-04-14T17:29:44.492351+00:00 app[web.1]: > PORT=2057 node index.js
2022-04-14T17:29:44.492352+00:00 app[web.1]:
2022-04-14T17:29:44.884154+00:00 app[web.1]: Server running on port: 2057
2022-04-14T17:30:43.255257+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2022-04-14T17:30:43.353153+00:00 heroku[web.1]: Stopping process with SIGKILL
2022-04-14T17:30:43.540697+00:00 heroku[web.1]: Process exited with status 137
2022-04-14T17:30:43.606413+00:00 heroku[web.1]: State changed from starting to crashed
2022-04-14T17:30:43.612532+00:00 heroku[web.1]: State changed from crashed to starting
2022-04-14T17:30:47.495399+00:00 heroku[web.1]: Starting process with command `/bin/sh -c npm\ start`