-
Notifications
You must be signed in to change notification settings - Fork 27
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
glirc2 seems to fail to recover from connection timeouts #45
Comments
Freenode has been under a DDoS attack this weekend and glirc2 only attempts to reconnect 6 times by default. It's probably done retrying. The other possibility is that the connection to freenode has stalled the the OS hasn't realized that. Current the client expects that socket connection attempts will eventually complete. The reconnection logic works fine in general so far as I know. I'm not keen to tweak it to deal with DDoS situations. If the sever closes the connection due to the server being full, that's a normal closure and not a failed connection, so the client doesn't continue to reconnect to the server. |
fwiw, I had the reconnect attempts set to "60"; also some irc servers disconnect you if you're not quick enough to authorize the nickname; I just had a case where
So while this is indeed a failure at the application layer, there'd still be value in having a 2nd layer reconnect logic IMO... what would |
If the connection timed out because you don't authenticate the client shouldn't reconnect. If the server tells you it's full or that you aren't authorized you shouldn't reconnect. I think these situations call for the user to make a judgement call as to how they're like to proceed. In particular with the manual authentication failure where the user is actively sitting at the client manual reconnect makes the most sense. The current reconnect logic is focused on network failures. |
I know that my ZNC found itself offline this weekend requiring manual intervention during the ddos |
fair enough... :-) |
This is the only thing I have in the
freenode
server window:and it's been like that for 20 minutes now; I had to /reconnect a couple of times manually to get connected to a working irc server in the freenode round-robin DNS (one server was unreachable, while another one kicked me out because it was full)
The text was updated successfully, but these errors were encountered: