ekmartin / slack-irc

Connects Slack and IRC channels by sending messages back and forth.
MIT License
588 stars 157 forks source link

Reconnects #95

Closed titusfortner closed 8 years ago

titusfortner commented 8 years ago

Right now I'm getting the error: ERROR Last pong is too old: and then my bot quits the IRC channel. For this to be a useful solution for our project, we need to be able to auto-reconnect.

ekmartin commented 8 years ago

Apparently node-irc defaults to a retry count of 0. I'll set it to something a bit higher. While waiting you can do so manually by adding ircOptions (which is passed directly to node-irc) in your slack-irc config:

"ircOptions": {
  "retryCount": 5
}
ekmartin commented 8 years ago

3.7.8 has been released with a retry count of 10, hopefully this should solve the problem.