Bug 58873 - UMC-Server: RuntimeError: fetch() called on closed AsyncHTTPClient
Summary: UMC-Server: RuntimeError: fetch() called on closed AsyncHTTPClient
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on: 56336
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-02 10:02 CET by Florian Best
Modified: 2025-12-02 10:03 CET (History)
0 users

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: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
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 Florian Best univentionstaff 2025-12-02 10:02:57 CET
I can see the bug re-occurring somewhen during UCS 5.2, on the upgrade test scenarions, UMC Server already running with Python 3.11. 

https://univention-dist-jenkins.k8s.knut.univention.de/job/UCS-5.2/job/UCS-5.2-4/job/AutotestUpgrade/lastCompletedBuild/SambaVersion=no-samba,Systemrolle=backup/testReport/99_end/01_var_log_tracebacks/test_var_log_tracebacks_gz/

2 times in /var/log/univention/management-console-server.log.1.gz:
https://jenkins2022.knut.univention.de/job/UCS-5.2/job/UCS-5.2-4/job/AutotestUpgrade/SambaVersion=no-samba,Systemrolle=backup/ws/test/management-console-server.log.1.gz
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tornado/web.py", line 1721, in _execute
    result = await result
             ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/univention/management/console/resources.py", line 704, in get
    self.future = process.request(self.request.method, self.request.full_url(), body=self.request.body or None, headers=headers)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/univention/management/console/resources.py", line 219, in request
    response = self.do_request(method, uri, headers, body, self.socket)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/univention/management/console/resources.py", line 104, in do_request
    return self._wrap_future(self._client.fetch(request, raise_error=True))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/tornado/httpclient.py", line 284, in fetch
    raise RuntimeError("fetch() called on closed AsyncHTTPClient")
RuntimeError: fetch() called on closed AsyncHTTPClient

+++ This bug was initially created as a clone of Bug #56336 +++