markov-elear
markov-elear copied to clipboard
Bot crashes on Heroku
Hey! I've followed your article on howistart to make my bot (https://github.com/divs1210/yushing-bot). It works amazingly on my local machine, but crashes on Heroku with the following logs:
2015-07-27T16:49:21.225477+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-07-27T16:49:21.225477+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-07-27T16:49:22.007152+00:00 heroku[web.1]: State changed from starting to crashed
2015-07-27T16:49:21.994882+00:00 heroku[web.1]: Process exited with status 137
How do I get around this?
Check on heroku what dynos your project is setup to use. It sounds like it is trying to run a web dyno that is trying to connect on a port