Project

General

Profile

Actions

Bug #9275

open

autcron: t3 page, which takes to long to respond, is not reported properly

Added by Carsten Rose about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Carsten Rose
Target version:
Start date:
04.10.2019
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Discuss:
Prio Planung:

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 1 (0 open1 closed)

Bug #9298: file_get_content Timeout ErrorClosedMarc Egger04.10.2019

Actions
Actions #1

Updated by Marc Egger about 3 years ago

Das Timeout ist momentan auf 20min (1200 Sekunden) hartcodiert. Siehe DownloadPage.php:

'http' => array(
                'timeout' => 1200,
            ),
Actions #2

Updated by Carsten Rose almost 3 years ago

  • Status changed from New to Some day maybe
Actions #3

Updated by Carsten Rose almost 3 years ago

  • Status changed from Some day maybe to New
Actions #4

Updated by Carsten Rose almost 3 years ago

  • Assignee set to Carsten Rose
Actions #5

Updated by Carsten Rose almost 3 years ago

  • Target version changed from 146 to 55
Actions #6

Updated by Carsten Rose almost 3 years ago

  • Target version changed from 55 to next7
Actions

Also available in: Atom PDF