Bug #9275
autcron: t3 page, which takes to long to respond, is not reported properly
Start date:
04.10.2019
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Discuss:
Description
Auf w16 werden ueber ein AutoCron Skript gitlab Berechtigungen erzeugt. Dieses Script benoetigt mehrere Minuten. Scheinbar hat der CLI PHP Interpreter einen Timeout, der das Skript hart abbrechen laesst.
Der System Cron sendet dann eine Mail:
FROM: root@math.uzh.ch TO: www-data@math.uzh.ch SUBJECT: Cron <www-data@w16> /usr/bin/php /var/www/html/my/typo3conf/ext/qfq/Classes/External/autocron.php DATE: 01.10.2019 - 13:03:01 PHP Warning: file_get_contents(https://w16.math.uzh.ch/my?id=updateGitlabPrivileges&token=secret....&nId=all): failed to open stream: HTTP request failed! in /var/www/html/my/typo3conf/ext/qfq/Classes/Core/Helper/DownloadPage.php on line 73
Subtasks
Updated by Marc Egger over 1 year ago
Das Timeout ist momentan auf 20min (1200 Sekunden) hartcodiert. Siehe DownloadPage.php:
'http' => array(
'timeout' => 1200,
),