Project

General

Profile

Bug #9298

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

file_get_content Timeout Error

Added by Marc Egger 14 days ago. Updated 3 days ago.

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

0%

Estimated time:
Discuss:

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);

Associated revisions

Revision ce30b8eb (diff)
Added by Marc Egger 3 days ago

refs #9298 fix timeout of file_get_contents

Revision 6c009759
Added by Carsten Rose 3 days ago

Merge branch '9298fileGetContentTimeoutError' into 'master'

refs #9298 fix timeout of file_get_contents

See merge request typo3/qfq!184

History

#1 Updated by Marc Egger 14 days ago

  • Tracker changed from Support to Bug

#2 Updated by Marc Egger 10 days ago

  • Parent task set to #9275

#3 Updated by Marc Egger 10 days ago

  • Assignee changed from Carsten Rose to Marc Egger

#4 Updated by Marc Egger 10 days ago

  • Status changed from New to In Progress

#5 Updated by Marc Egger 3 days ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF