You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`root@plex:~# apt-smart -b
2021-01-13 13:19:24 plex.cronus89.com apt_smart[10633] INFO Checking if Debian 10 (buster) is available on http://security.debian.org ..
2021-01-13 13:19:29 plex.cronus89.com apt_smart[10633] INFO Debian 10 (buster) is supported (based on security mirror).
2021-01-13 13:19:29 plex.cronus89.com apt_smart[10633] INFO Adding BASE_URL mirror:
2021-01-13 13:19:29 plex.cronus89.com apt_smart[10633] INFO http://ftp.debian.org/debian
2021-01-13 13:19:29 plex.cronus89.com apt_smart.backends.debian[10633] INFO Discovering Debian mirrors at https://www.debian.org/mirror/list ..
2021-01-13 13:19:39 plex.cronus89.com apt_smart.cli[10633] ERROR Encountered unexpected exception! Aborting ..
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/apt_smart/backends/debian.py", line 108, in discover_mirrors
response = fetch_url(url, timeout=2)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/http.py", line 53, in fetch_url
response = urlopen(url)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 1367, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.7/urllib/request.py", line 1324, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.7/http/client.py", line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/usr/lib/python3.7/http/client.py", line 1399, in connect
super().connect()
File "/usr/lib/python3.7/http/client.py", line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
File "/usr/local/lib/python3.7/dist-packages/stopit/signalstop.py", line 29, in handle_timeout
'value (%d seconds).' % self.seconds)
stopit.utils.TimeoutException: Block exceeded maximum timeout value (2 seconds).
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/apt_smart/cli.py", line 211, in main
callback()
File "/usr/local/lib/python3.7/dist-packages/apt_smart/cli.py", line 224, in report_best_mirror
output(updater.best_mirror)
File "/usr/local/lib/python3.7/dist-packages/property_manager3/init.py", line 784, in get
value = super(custom_property, self).get(obj, type)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/init.py", line 208, in best_mirror
return self.ranked_mirrors[0].mirror_url
File "/usr/local/lib/python3.7/dist-packages/property_manager3/init.py", line 784, in get
value = super(custom_property, self).get(obj, type)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/init.py", line 390, in ranked_mirrors
mirrors = sorted(self.available_mirrors, key=lambda c: c.sort_key, reverse=True)
File "/usr/local/lib/python3.7/dist-packages/property_manager3/init.py", line 784, in get
value = super(custom_property, self).get(obj, type)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/init.py", line 153, in available_mirrors
for candidate in self.backend.discover_mirrors():
File "/usr/local/lib/python3.7/dist-packages/apt_smart/backends/debian.py", line 118, in discover_mirrors
response = fetch_url(url, timeout=5)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/http.py", line 53, in fetch_url
response = urlopen(url)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 1352, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.7/urllib/request.py", line 1324, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.7/http/client.py", line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/usr/lib/python3.7/http/client.py", line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
File "/usr/local/lib/python3.7/dist-packages/stopit/signalstop.py", line 29, in handle_timeout
'value (%d seconds).' % self.seconds)
stopit.utils.TimeoutException: Block exceeded maximum timeout value (5 seconds).`
`root@plex:~# apt-smart -b
2021-01-13 13:19:24 plex.cronus89.com apt_smart[10633] INFO Checking if Debian 10 (buster) is available on http://security.debian.org ..
2021-01-13 13:19:29 plex.cronus89.com apt_smart[10633] INFO Debian 10 (buster) is supported (based on security mirror).
2021-01-13 13:19:29 plex.cronus89.com apt_smart[10633] INFO Adding BASE_URL mirror:
2021-01-13 13:19:29 plex.cronus89.com apt_smart[10633] INFO http://ftp.debian.org/debian
2021-01-13 13:19:29 plex.cronus89.com apt_smart.backends.debian[10633] INFO Discovering Debian mirrors at https://www.debian.org/mirror/list ..
2021-01-13 13:19:39 plex.cronus89.com apt_smart.cli[10633] ERROR Encountered unexpected exception! Aborting ..
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/apt_smart/backends/debian.py", line 108, in discover_mirrors
response = fetch_url(url, timeout=2)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/http.py", line 53, in fetch_url
response = urlopen(url)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 1367, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.7/urllib/request.py", line 1324, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.7/http/client.py", line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/usr/lib/python3.7/http/client.py", line 1399, in connect
super().connect()
File "/usr/lib/python3.7/http/client.py", line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
File "/usr/local/lib/python3.7/dist-packages/stopit/signalstop.py", line 29, in handle_timeout
'value (%d seconds).' % self.seconds)
stopit.utils.TimeoutException: Block exceeded maximum timeout value (2 seconds).
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/apt_smart/cli.py", line 211, in main
callback()
File "/usr/local/lib/python3.7/dist-packages/apt_smart/cli.py", line 224, in report_best_mirror
output(updater.best_mirror)
File "/usr/local/lib/python3.7/dist-packages/property_manager3/init.py", line 784, in get
value = super(custom_property, self).get(obj, type)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/init.py", line 208, in best_mirror
return self.ranked_mirrors[0].mirror_url
File "/usr/local/lib/python3.7/dist-packages/property_manager3/init.py", line 784, in get
value = super(custom_property, self).get(obj, type)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/init.py", line 390, in ranked_mirrors
mirrors = sorted(self.available_mirrors, key=lambda c: c.sort_key, reverse=True)
File "/usr/local/lib/python3.7/dist-packages/property_manager3/init.py", line 784, in get
value = super(custom_property, self).get(obj, type)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/init.py", line 153, in available_mirrors
for candidate in self.backend.discover_mirrors():
File "/usr/local/lib/python3.7/dist-packages/apt_smart/backends/debian.py", line 118, in discover_mirrors
response = fetch_url(url, timeout=5)
File "/usr/local/lib/python3.7/dist-packages/apt_smart/http.py", line 53, in fetch_url
response = urlopen(url)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
'_open', req)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 1352, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.7/urllib/request.py", line 1324, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.7/http/client.py", line 1244, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.connect()
File "/usr/lib/python3.7/http/client.py", line 938, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
File "/usr/local/lib/python3.7/dist-packages/stopit/signalstop.py", line 29, in handle_timeout
'value (%d seconds).' % self.seconds)
stopit.utils.TimeoutException: Block exceeded maximum timeout value (5 seconds).`
When I manually curl https://www.debian.org/mirror/list it connects fine and has no issues.
The text was updated successfully, but these errors were encountered: