Bug 54114 - appcenter/query: socket.timeout: The read operation timed out
appcenter/query: socket.timeout: The read operation timed out
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-19 17:25 CET by Maximilian Janßen
Modified: 2023-08-01 11:23 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021090821000506, 2023073121000089, 2023071421000236, 2023071821000391, 2023071821000372, 2023071821000381, 2023071821000363, 2023070721000241, 2023071421000236
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2021-11-19 17:25:13 CET
Version: 5.0-0 errata84

Error: 
Internal server error during "appcenter/query".
Request: appcenter/query

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, 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 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 381, in query
    self.update_applications()
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 399, in update_applications
    update.call()
  File "%PY3%/univention/appcenter/actions/__init__.py", line 175, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 181, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/update.py", line 87, in main
    if self._download_apps(app_cache):
  File "%PY3%/univention/appcenter/actions/update.py", line 174, in _download_apps
    if not filenames or self._download_files(app_cache, filenames):
  File "%PY3%/univention/appcenter/actions/update.py", line 155, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 60, in _func
    return func(*args, **kwargs)
  File "%PY3%/univention/appcenter/actions/update.py", line 219, in _download_file
    response = urlopen(request)
  File "%PY3%/univention/appcenter/utils.py", line 329, 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 316, 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 1352, in getresponse
    response.begin()
  File "/usr/lib/python3.7/http/client.py", line 310, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.7/http/client.py", line 271, 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

Role: domaincontroller_backup
Comment 1 Mika Westphal univentionstaff 2023-08-01 11:23:40 CEST
2023071421000236
5.0-4 errata740

Internal server error during "/univention/command/appcenter/query".
Request: /univention/command/appcenter/query

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/decorators.py", line 342, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 466, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 308, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 391, in query
    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 83, in main
    if self._download_supra_files(appcenter_cache):
  File "%PY3%/univention/appcenter/actions/update.py", line 152, in _download_supra_files
    return self._download_files(appcenter_cache, ['app-categories.ini', 'rating.ini', 'license_types.ini', 'ucs.ini', 'suggestions.json'])
  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