Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku\H10 Error\Node.js\ Please, guys help! #29

Open
st3p4nb01 opened this issue May 29, 2018 · 0 comments
Open

Heroku\H10 Error\Node.js\ Please, guys help! #29

st3p4nb01 opened this issue May 29, 2018 · 0 comments

Comments

@st3p4nb01
Copy link

st3p4nb01 commented May 29, 2018

Hello! As in one day I made my bot for the social network VKontakte. Bot did on Node.js on the VK-Promise module.

I downloaded the bot on Heroku by connecting GitHub. At the beginning when I deploy the code, the whole process goes perfectly. All is over, I open the application. For a while everything is fine, I check the bot .. it works. But .. it takes a couple of seconds, and here's the error.

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.

I enter the command line. I enter heroku logs -tail --app <app_name>, of course, I add my application.
And there are many mistakes:

2018-05-29T20:12:41.862099+00:00 app[web.1]: > [email protected] start /app
2018-05-29T20:12:41.862101+00:00 app[web.1]: > node index.js
2018-05-29T20:12:41.862102+00:00 app[web.1]:
2018-05-29T20:12:41.997050+00:00 app[web.1]: Бот работает •
2018-05-29T20:12:55.743043+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=vk-bot-stepan-api.herokuapp.com request_id=e9d54edd-746a-4752-9fb2
-199b7e50f89c fwd="104.129.18.21" dyno= connect= service= status=503 bytes= protocol=https
2018-05-29T20:12:55.743043+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=vk-bot-stepan-api.herokuapp.com request_id=e9d54edd-746a-4752-9fb2
-199b7e50f89c fwd="104.129.18.21" dyno= connect= service= status=503 bytes= protocol=https
2018-05-29T20:13:40.189315+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2018-05-29T20:13:40.189561+00:00 heroku[web.1]: Stopping process with SIGKILL
2018-05-29T20:13:40.286712+00:00 heroku[web.1]: Process exited with status 22
2018-05-29T20:13:40.189315+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2018-05-29T20:13:40.189561+00:00 heroku[web.1]: Stopping process with SIGKILL
2018-05-29T20:13:40.286712+00:00 heroku[web.1]: Process exited with status 22
2018-05-29T20:13:40.213979+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2018-05-29T20:13:40.213979+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2018-05-29T20:13:40.324227+00:00 heroku[web.1]: State changed from starting to crashed
2018-05-29T20:13:40.324227+00:00 heroku[web.1]: State changed from starting to crashed
2018-05-29T20:13:42.259516+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=vk-bot-stepan-api.herokuapp.com request_id=ab736056-2336-4cbb-8b0c-a2bb
47cb381f fwd="104.129.18.21" dyno= connect= service= status=503 bytes= protocol=https
2018-05-29T20:13:42.259516+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=vk-bot-stepan-api.herokuapp.com request_id=ab736056-2336-4cbb-8b0c-a2bb
47cb381f fwd="104.129.18.21" dyno= connect= service= status=503 bytes= protocol=https
2018-05-29T20:13:44.023607+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vk-bot-stepan-api.herokuapp.com request_id=f40b3e71-7b61-484
6-8440-df9475e26858 fwd="104.129.18.21" dyno= connect= service= status=503 bytes= protocol=https
2018-05-29T20:13:44.023607+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=vk-bot-stepan-api.herokuapp.com request_id=f40b3e71-7b61-484
6-8440-df9475e26858 fwd="104.129.18.21" dyno= connect= service= status=503 bytes= protocol=https

I do not understand what to do. I very much ask you, anyone who faced such a problem, help me please!

Thank you for attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant