dreampi
dreampi copied to clipboard
dreampi check_internet_connection function doesn't handle socket.timeout?
I saw someone on reddit (discussion here) with an interesting issue with getting this to work using a PC image
https://github.com/Kazade/dreampi/blob/4937c8030141e2531fc9e5fdc05a4139b5007e00/dreampi.py#L51-L57
with the timeout: timed out
message I suspect that socket.timeout
exceptions should also be given a pass, particularly if the DNS server being tested not respond to TCP connections on port 53