guzzle / guzzle

Guzzle, an extensible PHP HTTP client

Home Page:https://docs.guzzlephp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maximum execution time of 30 seconds exceeded

tree1891 opened this issue · comments

Guzzle version(s) affected: 7.7
PHP version: 8.1.2
cURL version: 7.81.0

Description
After call post in loop, get exception.
{
"message": "Maximum execution time of 30 seconds exceeded",
"exception": "Symfony\Component\ErrorHandler\Error\FatalError",
"file": "/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"line": 595,
"trace": []
}

I'm not too sure what the goal of the issue report is. Possibly you need to set a connect timeout lower than your max execution time.