nandub / hubot-irc

IRC adapter for Hubot
MIT License
299 stars 128 forks source link

Hubot doesn't join IRC channel, stuck on "INFO Using default redis on localhost:6379" #147

Open frdmn opened 9 years ago

frdmn commented 9 years ago

I already raised an issue in github/hubot#941, but I was told to try it here. Right now I try to create a Dockerized Hubot instance, but it stucks while launching:

❯  140_docker-hubot git:(master) docker logs -f --tail=all docker-hubot
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Loading adapter irc
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Loading scripts from /opt/hubot/scripts
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/scripts/example.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Loading scripts from /opt/hubot/src/scripts
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Loading hubot-scripts from /opt/hubot/node_modules/hubot-scripts/src/scripts
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Loading external-scripts from npm packages
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-diagnostics/src/diagnostics.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-help/src/help.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] ERROR hubot-heroku-alive included, but missing HUBOT_HEROKU_KEEPALIVE_URL. `heroku config:set HUBOT_HEROKU_KEEPALIVE_URL=$(heroku apps:info -s  | grep web_url | cut -d= -f2)`
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-heroku-keepalive/src/heroku-keepalive.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-google-images/src/google-images.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-google-translate/src/google-translate.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-pugme/src/pugme.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-maps/src/maps.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] INFO Using default redis on localhost:6379
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-redis-brain/src/redis-brain.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-rules/src/rules.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-shipit/src/shipit.coffee
[Wed May 13 2015 12:52:12 GMT+0000 (UTC)] DEBUG Parsing help for /opt/hubot/node_modules/hubot-youtube/src/youtube.coffee

It connects fine to the actual IRC server (I can tell, since I can /whois <botname> and see it's connected) but doesn't want to join the channel.

Not sure what's the problem is right now.

You can find the Docker repository over here: http://git.frd.mn/frdmn/docker-hubot/tree/master

gabemarshall commented 9 years ago

I'm not sure if it's related but I just started having issues with my hubot joining channels. It's worked for the past 6 months until the past couple of days. Also using redis.

frdmn commented 9 years ago

@gabemarshall do you run Hubot in a Docker container as well? Because i just tried to run it natively and it worked like a charm. It's somehow related to the Docker environment for me.

matschundbrei commented 8 years ago

I assume this is due to a misconfigured nickserv authentification and/or bad connect commands. Had the same issue. This happens because there's currently no real error handling in both cases and the bot will just not join any channels after either one fails.