Univention Bugzilla – Bug 56392
appcenter/run: socket.timeout: The read operation timed out
Last modified: 2023-08-02 13:58:03 CEST
Internal server error during "/univention/command/appcenter/run". Request: /univention/command/appcenter/run Traceback (most recent call last): File "%PY3%/univention/management/console/base.py", line 383, in __error_handling six.reraise(etype, exc, etraceback) File "%PY3%/six.py", line 693, in reraise raise value File "%PY3%/univention/management/console/base.py", line 281, in execute function.__func__(self, request, *args, **kwargs) File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 137, in _deferred self.update_applications() File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 409, in update_applications update.call() File "%PY3%/univention/appcenter/actions/__init__.py", line 187, in call return obj.call_with_namespace(namespace) File "%PY3%/univention/appcenter/actions/__init__.py", line 194, in call_with_namespace result = self.main(namespace) File "%PY3%/univention/appcenter/actions/update.py", line 92, in main if self._download_apps(app_cache): File "%PY3%/univention/appcenter/actions/update.py", line 204, in _download_apps if filenames and not self._download_files(app_cache, filenames): File "%PY3%/univention/appcenter/actions/update.py", line 166, in _download_files new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version) File "%PY3%/univention/appcenter/actions/__init__.py", line 67, in _func return func(*args, **kwargs) File "%PY3%/univention/appcenter/actions/update.py", line 245, in _download_file response = urlopen(request) File "%PY3%/univention/appcenter/utils.py", line 393, in urlopen return urllib_request.urlopen(request, timeout=60) 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 "%PY3%/univention/appcenter/utils.py", line 380, in https_open return self.do_open(HTTPSConnection, req) File "/usr/lib/python3.7/urllib/request.py", line 1327, in do_open r = h.getresponse() File "/usr/lib/python3.7/http/client.py", line 1356, in getresponse response.begin() File "/usr/lib/python3.7/http/client.py", line 319, in begin version, status, reason = self._read_status() File "/usr/lib/python3.7/http/client.py", line 280, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.7/ssl.py", line 1052, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.7/ssl.py", line 911, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out
I forgot the remark: just keeps erroring out randomly ,but curl is fine (In reply to Mika Westphal from comment #0) > Internal server error during "/univention/command/appcenter/run". > Request: /univention/command/appcenter/run > > Traceback (most recent call last): > File "%PY3%/univention/management/console/base.py", line 383, in > __error_handling > six.reraise(etype, exc, etraceback) > File "%PY3%/six.py", line 693, in reraise > raise value > File "%PY3%/univention/management/console/base.py", line 281, in execute > function.__func__(self, request, *args, **kwargs) > File "%PY3%/univention/management/console/modules/appcenter/__init__.py", > line 137, in _deferred > self.update_applications() > File "%PY3%/univention/management/console/modules/appcenter/__init__.py", > line 409, in update_applications > update.call() > File "%PY3%/univention/appcenter/actions/__init__.py", line 187, in call > return obj.call_with_namespace(namespace) > File "%PY3%/univention/appcenter/actions/__init__.py", line 194, in > call_with_namespace > result = self.main(namespace) > File "%PY3%/univention/appcenter/actions/update.py", line 92, in main > if self._download_apps(app_cache): > File "%PY3%/univention/appcenter/actions/update.py", line 204, in > _download_apps > if filenames and not self._download_files(app_cache, filenames): > File "%PY3%/univention/appcenter/actions/update.py", line 166, in > _download_files > new_etag = self._download_file(server, filename, cache_dir, etag, > ucs_version) > File "%PY3%/univention/appcenter/actions/__init__.py", line 67, in _func > return func(*args, **kwargs) > File "%PY3%/univention/appcenter/actions/update.py", line 245, in > _download_file > response = urlopen(request) > File "%PY3%/univention/appcenter/utils.py", line 393, in urlopen > return urllib_request.urlopen(request, timeout=60) > 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 "%PY3%/univention/appcenter/utils.py", line 380, in https_open > return self.do_open(HTTPSConnection, req) > File "/usr/lib/python3.7/urllib/request.py", line 1327, in do_open > r = h.getresponse() > File "/usr/lib/python3.7/http/client.py", line 1356, in getresponse > response.begin() > File "/usr/lib/python3.7/http/client.py", line 319, in begin > version, status, reason = self._read_status() > File "/usr/lib/python3.7/http/client.py", line 280, in _read_status > line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") > File "/usr/lib/python3.7/socket.py", line 589, in readinto > return self._sock.recv_into(b) > File "/usr/lib/python3.7/ssl.py", line 1052, in recv_into > return self.read(nbytes, buffer) > File "/usr/lib/python3.7/ssl.py", line 911, in read > return self._sslobj.read(len, buffer) > socket.timeout: The read operation timed out
(In reply to Mika Westphal from comment #0) Version: 5.0-4 errata726 Role: domaincontroller_slave