Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
0.4.0 to 0.4.1 Introduced WebServer Issue #491
When using the setupWebServer function from the slack button example - https://github.com/howdyai/botkit/blob/master/examples/slackbutton_bot.js I'm getting an error on Heroku saying that it is failing to bind to $PORT. Can we get a fix for this?
My botkits that are running version 0.4.0 will succeed and not crash on the binding part.
2016-11-10T20:21:23.350453+00:00 heroku[web.1]: Stopping process with SIGKILL
Hmmm I will try to replicate this when I am back at my computer later tonight.
At first glance, it is likely heroku passes
I ran into the same issue, heroku expects the default http/express hostname, which is 0.0.0.0, not the default used by botkit, which is 127.0.0.1. #492
Try passing in 0.0.0.0 as the hostname to see if this fixes your issue.