Skip to content
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

Does not reconnect automatically #93

Closed
X-dark opened this issue Aug 20, 2013 · 11 comments
Closed

Does not reconnect automatically #93

X-dark opened this issue Aug 20, 2013 · 11 comments

Comments

@X-dark
Copy link

X-dark commented Aug 20, 2013

I got a small problem with my Internet connection which get cut every 12h (on the router not on the server). Weechat reconnects automatically to IRC when Internet is back but hubot does not and does not even seem to notice the loss of connectivity.

@jgable
Copy link
Collaborator

jgable commented Aug 21, 2013

I notice that the node-irc module does seem to emit a netError event that we could listen to, but I'm not sure whether we could just re-connect at that point without messing up some other hubot related stuff.

This would take a good amount of time to figure out and I'm busy with other things right now. If you'd like to take this on, we would welcome a PR.

@X-dark
Copy link
Author

X-dark commented Aug 23, 2013

All right. I'll have a look. I have added a netError listener for now and will try to add a reconnect to see what happens once I see the error thrown.

@sc0ttkclark
Copy link

+1 to auto-reconnect

@X-dark
Copy link
Author

X-dark commented Oct 3, 2013

Sorry for not getting back before.
I have not been able to catch any netError event on connection loss. Either I am doing something wrong or in my case the error is not thrown...

@mcg
Copy link

mcg commented Nov 17, 2014

Any more movement on this? Using the adapter with Slack's IRC gateway and the bot stops responding randomly and silently(no errors).

@sc0ttkclark
Copy link

I switched to https://github.com/tinyspeck/hubot-slack for our Slack team.

@mcg
Copy link

mcg commented Nov 17, 2014

Not running the Slack adapter since we would prefer to not have an exposed endpoint for hubot.

@zachlatta
Copy link

Any updates on this? This is causing us some trouble when we run into occasional connection issues.

@verymilan
Copy link

push

@parkr
Copy link
Collaborator

parkr commented Feb 16, 2016

Hi folks. I'm unable to take a look at this at the moment and it seems @nandub is busy as well. If someone sufficiently bugged by this bug is able to figure out how to solve it, I would be more than happy to take a look at a pull request. Please do not 👍 or bump this issue anymore.

@Kirbo
Copy link

Kirbo commented Mar 8, 2016

auto-reconnect (and auto-join on reconnect) would be more than appreciated +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants