question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with running the bot with heroku.com

See original GitHub issue

Hi, i’m trying to run the bot with heroku.com but after 60 seconds off normal running, the bot crash

Logs:

2018-05-04T08:16:33.932067+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2018-05-04T08:16:33.911083+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2018-05-04T08:16:33.911315+00:00 heroku[web.1]: Stopping process with SIGKILL
2018-05-04T08:16:33.989520+00:00 heroku[web.1]: Process exited with status 22
2018-05-04T08:16:34.003412+00:00 heroku[web.1]: State changed from starting to crashed
2018-05-04T08:16:35.516944+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=supportbotj.herokuapp.com request_id=6b22aebd-7c55-422d-8ab9-59cb88cf98c1 fwd="92.153.80.45" dyno= connect= service= status=503 bytes= protocol=https
2018-05-04T08:20:58.190063+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=supportbotj.herokuapp.com request_id=cd976205-3136-4f68-bd3b-5b9ff89ea16c fwd="92.153.80.45" dyno= connect= service= status=503 bytes= protocol=https
2018-05-04T08:20:58.087744+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=supportbotj.herokuapp.com request_id=4c599879-ad58-478c-9b1f-111539d6a5f8 fwd="92.153.80.45" dyno= connect= service= status=503 bytes= protocol=https

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Dragorycommented, May 7, 2018

Glad to hear you got it working! I’ll look into including some Heroku instructions in the README in the near future as well.

1reaction
Macleykuncommented, May 5, 2018

npm start -Dserver.port=$PORT Maybe that will work?

Idk if your app needs a web worker. You can also change in the procfile the web to worker. But i’m not that familiar with this project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Node.js Deploys
Your Node.js deploy failed - now what? Start with these simple steps to troubleshoot a build issue. Check the buildpack.
Read more >
Heroku Discord Bot is offline - node.js
The problem with your bot is that Heroku's free plan makes your application to sleep after 30 minutes of inactivity. The solution would...
Read more >
How to Host a Discord Bot 24/7 for Free (2020) [Episode #2.5]
The easiest way to host your Discord bot for free is with a service called Heroku. In this video I go over how...
Read more >
Solving Deceiving Problems Presented by Heroku Dyno ...
Deploying a Python Discord bot running dblpy to Heroku. diagram showing the web process dyno. Abstracted web process dyno (Image source: Author).
Read more >
Issue with deploying bot : r/Heroku
Dear folks , how are you all . I test my bot and it's running smooth locally, I'm developing telegram bot , so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found