Project

General

Profile

Actions

Bug #9298

closed

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

file_get_content Timeout Error

Added by Marc Egger over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Marc Egger
Target version:
Start date:
04.10.2019
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:

Description

Timeout file_get_contents

Minimales Skript um Fehler zu reproduzieren:

<?php
file_get_contents('https://w16.math.uzh.ch/my?id=updateGitlabPrivileges&token=78ysna3uuryvmvw5&nId=all')

mit curl funktioniert:

<?php
$curl_handle=curl_init();
curl_setopt($curl_handle, CURLOPT_URL,'https://w16.math.uzh.ch/my?id=updateGitlabPrivileges&token=78ysna3uuryvmvw5&nId=all');
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl_handle, CURLOPT_USERAGENT, 'Your application name');
$query = curl_exec($curl_handle);
curl_close($curl_handle);

print($query);
Actions #1

Updated by Marc Egger over 3 years ago

  • Tracker changed from Support to Bug
Actions #2

Updated by Marc Egger over 3 years ago

  • Parent task set to #9275
Actions #3

Updated by Marc Egger over 3 years ago

  • Assignee changed from Carsten Rose to Marc Egger
Actions #4

Updated by Marc Egger over 3 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Marc Egger over 3 years ago

  • Status changed from In Progress to Closed
Actions #6

Updated by Carsten Rose over 3 years ago

  • Target version set to 19.10.0
Actions

Also available in: Atom PDF