ECONNRESET without any retries after
See original GitHub issueApparently thelounge has a hardcoded reconnect configuration that has too few retries which span over less than 3 minutes. This means that a simple router restart or other networking glitch could render the application offline until a human performs a manual reconned.
This happened to me twine in a week, usually it was not happening but based on what I see on the log I think that the app was not able to retry enough before giving up. I was not able to see any options configurable in the UI around the retry logic.
Even more interesting is the fact that after the attempt no4 it succeeded establishing a connection but received a ECONNRESET and gave up.
If the retry behavior is configurable in another place hidden from the UI, it should at least be mentioned in the settings window, those for connection and/or general ones.
Version: 4.2.0 (container)
07:35 Ping timeout, disconnecting…
07:35 Disconnected from the network. Reconnecting in 5 seconds… (Attempt 1)
07:35 *** Connection closed unexpectedly: Error: getaddrinfo EAI_AGAIN chat.freenode.net
07:35 Disconnected from the network. Reconnecting in 8 seconds… (Attempt 2)
07:36 *** Connection closed unexpectedly: Error: getaddrinfo EAI_AGAIN chat.freenode.net
07:36 Disconnected from the network. Reconnecting in 6 seconds… (Attempt 3)
07:36 *** Connection closed unexpectedly: Error: getaddrinfo EAI_AGAIN chat.freenode.net
07:36 Disconnected from the network. Reconnecting in 11 seconds… (Attempt 4)
07:36 Connected to the network.
07:36 -card.freenode.net- *** Looking up your hostname...
07:36 -card.freenode.net- *** Checking Ident
07:36 -card.freenode.net- *** Found your hostname
07:38 *** Connection closed unexpectedly: Error: read ECONNRESET
07:38 Disconnected from the network, and will not reconnect. Use /connect to reconnect again.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
irc-framework handles the reconnection.
See https://github.com/kiwiirc/irc-framework/issues/211
the thing is they seem to be convinced it’s as intended (and I asked for confirmation on this but no response so far) and thus making pr might be pointless.