nandub / hubot-irc

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

Ping timeout after a few minutes #97

Closed apfohl closed 11 years ago

apfohl commented 11 years ago

Hello,

I created a fresh new hubot and plugged in the irc adapter like described in the readme. Everytime after a few minutes hubot was kicked from the channel, "Ping timeout", but the bot script does not exit.

I'm using node v0.10.19.

jgable commented 11 years ago

Interesting. Where are you running this from? Your local machine or a server of some kind? What irc server are you connecting to also?

apfohl commented 11 years ago

A local machine, it's a mac. Freenode.

jgable commented 11 years ago

I am not having this issue. Ran the bot on my macbook pro, connected to freenode, node 0.10.19. Has been running for 20 minutes with no issue.

apfohl commented 11 years ago

Have you created a new one? Can you create a repo from that? How do you start the bot?

jgable commented 11 years ago

I followed the directions in the README exactly.

% npm install -g hubot coffee-script
% hubot --create myhubot
% cd myhubot
% npm install hubot-irc --save && npm install
% HUBOT_IRC_SERVER=irc.freenode.net \
  HUBOT_IRC_ROOMS="#myhubot-irc" \
  HUBOT_IRC_NICK="myhubot" \
  HUBOT_IRC_UNFLOOD="true" \
  bin/hubot -a irc --name myhubot
apfohl commented 11 years ago

It still crashes. I've tried another fresh setup.

jgable commented 11 years ago

Sorry, I'm gonna have to chalk this up to your connection to the irc server. There is no reason the hubot code would cause a ping timeout issue.

nandub commented 11 years ago

@jgable and @apfohl I followed those instructions and everything is working fine on my side for the past 15 minutes. I see not timeout errors.

apfohl commented 11 years ago

Sorry, it was my internet connection, but thanks anyway.

nandub commented 11 years ago

No problem.