[pamac-mirrors] socket.timeout: The read operation timed out
A user reported the following with current version (4.19.2-1 seems to be fine):
sudo pacman-mirrors -f
::INFO Downloading mirrors from repo.manjaro.org
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 28, in <module>
pm.run()
File "/usr/lib/python3.9/site-packages/pacman_mirrors/pacman_mirrors.py", line 101, in run
httpFn.download_mirror_pool(config=self.config, tty=self.tty, quiet=self.quiet)
File "/usr/lib/python3.9/site-packages/pacman_mirrors/functions/httpFn.py", line 195, in download_mirror_pool
result = download_mirrors(config)
File "/usr/lib/python3.9/site-packages/pacman_mirrors/functions/httpFn.py", line 60, in download_mirrors
mirrorlist = json.loads(response.read().decode("utf8"), object_pairs_hook=collections.OrderedDict)
File "/usr/lib/python3.9/http/client.py", line 471, in read
s = self._safe_read(self.length)
File "/usr/lib/python3.9/http/client.py", line 612, in _safe_read
data = self.fp.read(amt)
File "/usr/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.9/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
See here for more info: https://forum.manjaro.org/t/stable-update-2021-03-18-kernels-plasma-frameworks-libreoffice-firefox-systemd/58581/83