socket.gaierror
during (re)connection is unhandled
#2407
Labels
Milestone
socket.gaierror
during (re)connection is unhandled
#2407
Description
Running a Sopel instance from my laptop while traveling, the power (and therefore Starlink) at our rental cut out overnight.
Sopel failed to reconnect because of an unhandled error case related to DNS, and quit itself completely.
Reproduction steps
a. If on Wi-Fi, I believe cutting power to the AP would emulate what happened to me
Expected behavior
Sopel should catch any
socket.gaierror
exception and queue another connection attempt.Relevant logs
Notes
Past mentions of
gaierror
in our issue tracker are mostly about theip
&wikipedia
plugins. I'm surprised it never came up for core, outside of one thread about IPv6.Sopel version
f527b13
Installation method
pip install
Python version
3.9.5
Operating system
Ubuntu 20.04 (WSL 1)
IRCd
No response
Relevant plugins
No response
The text was updated successfully, but these errors were encountered: