-
Notifications
You must be signed in to change notification settings - Fork 405
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
Hubot only stays online for 1 minute... #345
Comments
We just pulled in a few changes to the hubot-kandan-app that might fix what you are talking about. Try pulling down the latest version, and read the updated readme (there is a new Heroku readme that @JangoSteve has added) |
Now Hubot stays online, but none of the default commands work. |
That's probably due to this change needed in the Kandan app itself. |
This was pulled in a few days ago, @TriForce1 are you still having issues? |
What extra do I have to do? |
You need to pull in the latest changes from this branch, and then push up to heroku again if you are on it. |
I did that :/ |
In the Hubot thing, I set host to *.herokuapp.com and the other thing to my token. |
But it still doesn't work... |
Dammit I didn't mean to close this. |
I always close stuff by accident on GitHub |
Did you follow the guide here (make sure you aren't missing any steps -- we've added a few heroku steps to it): https://github.com/kandanapp/hubot-kandan-app If so, did you follow the more detailed guide here: https://github.com/github/hubot/blob/master/docs/deploying/heroku.md It's hard to know where people get tripped up -- with the infinite amount of configurable systems out there and a large amount of steps to actually implement hubot/kandan on a system, it could be anything. We need to know what you have tried, what you haven't tried, etc. |
What's the difference beetween HUBOT_KANDAN_HOST and HEROKU_URL? I'm assuming the latter is just prefixed with "http://"? |
Good question!
This refers to the same url that you are hosting Hubot on. So if you launched Hubot on rhttp://rosemary-britches-123.herokuapp.com, you'd also set the config variable HEROKU_URL to be the same url. Why? So that way Hubot will ping itself and not shut itself down (which Heroku will do on the free tier).
Refers to I believe the port, so if you are running on SSL you'd say:
(Set these on the hubot-kandan-bot heroku instance). Finally, you may have missed how to setup a bot initially on Kandan. To do so go back to your kandan repo and run
After that is successful, run,
That should give you the
I think this might put you on the right track, but to be honest I haven't set up Kandan yet with Hubot so I may be missing a step. Try that out though and let me know if that works. |
Also, if the above doens't work, try these configs for heroku variables
|
I have to run
heroku restart
on hubot-kandan-app. I don't even think any commands are working.The text was updated successfully, but these errors were encountered: