Univention Bugzilla – Bug 47337
System diagnostic module throws internal server error, if a check takes too long
Last modified: 2021-05-14 16:34:24 CEST
The system diagnostic module throws an empty internal server error message, when a check takes too long. This can be reproduced reliably by putting a time.sleep(500) in one of the checks below /usr/share/pyshared/univention/management/console/modules/diagnostic/plugins/, restarting the UMC server and opening the module. The loading bar pauses at 96% Diagnose von "Gateway ist nicht erreichbar" erfolgreich regardless of which check contains the sleep, so one can not immediately pin down which check is causing the delay. I'd expect the module to show a more descriptive error pop-up, like "Timeout: check %s took too long" or just skip the check after a certain amount of time and list it as a "Problem" similar to the behaviour when a traceback happens in one of the checks itself.
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.