dreampi icon indicating copy to clipboard operation
dreampi copied to clipboard

dreampi check_internet_connection function doesn't handle socket.timeout?

Open Docteh opened this issue 2 years ago • 0 comments

I saw someone on reddit (discussion here) with an interesting issue with getting this to work using a PC image

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

Docteh avatar Dec 28 '22 16:12 Docteh