Project

General

Profile

Actions

Bug #9275

open

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

Added by Carsten Rose over 4 years ago. Updated about 4 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:
Vote:

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 over 4 years ago

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

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

Updated by Carsten Rose over 4 years ago

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

Updated by Carsten Rose over 4 years ago

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

Updated by Carsten Rose about 4 years ago

  • Assignee set to Carsten Rose
Actions #5

Updated by Carsten Rose about 4 years ago

  • Target version changed from 146 to 55
Actions #6

Updated by Carsten Rose about 4 years ago

  • Target version changed from 55 to next7
Actions

Also available in: Atom PDF