-
Notifications
You must be signed in to change notification settings - Fork 229
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 can't connect to Rocket Chat #100
Comments
try |
OK, this makes sense! Thanks!! On Sun, 21 Feb 2016, 23:51 Nick Nagy notifications@github.com wrote:
|
Hi!
|
Just for grins. did you add the hubot user to rocketchat then change the password. |
@or1gb1u3 , I have added a user called
|
Have you had any success? |
This issue appears to be related purely to the YML file as the following works (hubot launches and connects) using the same configuration as contained in the yml file. docker run -it -e ROCKETCHAT_URL=rocketchat.mydomain.com:3000 -e ROCKETCHAT_ROOM='' -e LISTEN_ON_ALL_PUBLIC=true -e ROCKETCHAT_USER=hubot -e ROCKETCHAT_PASSWORD=Passw0rd -e BOT_NAME=Hubot -e EXTERNAL_SCRIPTS=hubot-pugme,hubot-help rocketchat/hubot-rocketchat |
@davemorrow1968 , I haven't done any progress with the issue. |
I had the same issue and assumed that when the bot is trying to connect our rocketchat server isn't ready yet. A quick manual restart of the hubot container confirmed that as the bot was then able to connect. So I still fire up all containers at boot using |
glad to hear @davemorrow1968 |
I've noticed the same problem as @mpede did with the initial startup, but was able to get the bot connected after the bootup is finished. However, I've fallen into this same problem as the OP with the latest version update (0.28.0). Now it gets stuck in the same spot, attempting to connect. |
I managed to get the bot working again by deleting and re-creating a new bot account, then removing the old hubot container and re-up'ing it again... don't know why. Also, I have noticed when trying to log into the old bot, the log output is spammed with a history of every message it has ever received (I guess it initializes by reading it's entire message history?). Sometimes I've noticed it got a 137 error which I understand means "out of memory". Do not know if this is related, but with the new bot account, there is no more spam and it connects just fine. I hope this doesn't mean I have to re-create a new bot account every month or so... |
I am testing Rocket Chat for the first time and I am following this guide to Deploy with Docker
I have started Rocket Chat successfully and I am now trying to enable the Hubot.
I have created a user called bot and I have modified the file docker-compose.yml with the updated login information.
Here is my file:
I have started the container with Hubot but it does not seem to respond to the command within Rocket Chat.
I am not sure what is the expected output, but it seems that he can't connect to localhost:3000 which is the URL I use to open Rocket Chat.
Do you have any suggestion?
Thanks!
Andrea
The text was updated successfully, but these errors were encountered: