Bug 56392 - appcenter/run: socket.timeout: The read operation timed out
appcenter/run: 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: 2023-08-02 13:22 CEST by Mika Westphal
Modified: 2023-08-02 13:58 CEST (History)
1 user (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: 2023071121000214
Bug group (optional): Error handling, 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 Mika Westphal univentionstaff 2023-08-02 13:22:55 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
Comment 1 Mika Westphal univentionstaff 2023-08-02 13:23:56 CEST
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
Comment 2 Mika Westphal univentionstaff 2023-08-02 13:51:58 CEST
(In reply to Mika Westphal from comment #0)
Version: 5.0-4 errata726
Role: domaincontroller_slave