Bug 51293 - SSLError: ('The read operation timed out',). Internal server error during "appcenter/query".
Summary: SSLError: ('The read operation timed out',). Internal server error during "ap...
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: App Center
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: App Center maintainers
QA Contact: App Center maintainers
URL:
Keywords:
Depends on: 55499
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-15 09:54 CEST by Christian Castens
Modified: 2024-07-04 17:47 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
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: 2020040821001301, 2020082321000106, 2021052621001023, 2020100621000072, 2021012321000206
Bug group (optional): Error handling, External feedback
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2020-05-15 09:54:19 CEST
Version: 4.4-4 errata521 (Blumenthal)

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

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 358, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 261, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 246, in query
    self.update_applications()
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 264, in update_applications
    update.call()
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 84, in main
    if self._download_apps(app_cache):
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 177, in _download_apps
    if self._download_files(app_cache, filenames):
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 156, in _download_files
    new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 58, in _func
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 211, in _download_file
    response = urlopen(request)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/utils.py", line 326, in urlopen
    return urllib2.urlopen(request, timeout=60)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/utils.py", line 313, in https_open
    return self.do_open(HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 438, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 394, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 766, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 653, in read
    v = self._sslobj.read(len)
SSLError: ('The read operation timed out',)

Role: domaincontroller_master
Comment 1 Christian Castens univentionstaff 2020-08-24 09:52:02 CEST
reported again:
Version: 4.4-5 errata711 (Blumenthal)

Error:
Internal server error during "updater/updates/query".
Request: updater/updates/query

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 281, in query_releases
    self.uu.ucr_reinit()
  File "%PY2.7%/univention/updater/tools.py", line 914, in ucr_reinit
    assert self.server.access(None, '')
  File "%PY2.7%/univention/updater/tools.py", line 633, in access
    res = UCSHttpServer.opener.open(req, timeout=self.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
    context=self._context)
  File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 438, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 394, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 766, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 653, in read
    v = self._sslobj.read(len)
SSLError: ('The read operation timed out',)

Role: domaincontroller_master
Comment 3 Christian Zengel 2021-02-03 09:21:36 CET
Interner Server-Fehler in "appcenter/query".
Request: appcenter/query

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 253, in query
    if not self._test_for_docker_service():
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 272, in _test_for_docker_service
    if docker_bridge_network_conflict():
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/utils.py", line 91, in docker_bridge_network_conflict
    my_net = ipaddr.IPv4Network('%s/%s' % (iface['network'], iface['netmask']))
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1336, in __init__
    self._ip = self._ip_int_from_string(addr[0])
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1091, in _ip_int_from_string
    raise AddressValueError(ip_str)
AddressValueError: None
Comment 4 Jan-Luca Kiok univentionstaff 2024-07-04 17:47:15 CEST
This issue has been filed against UCS 4.4.

UCS 4.4 is out of maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide information on how this issue is affecting you.