mercredi 14 octobre 2015

intermittent cURL errors in PHP API

Using PHP API v2

I am getting intermittent cURL errors coming through

[07-Oct-2015 03:46:27 UTC] PHP Fatal error:  Uncaught exception 'Guzzle\Http\Exception\CurlException' with message '[curl] 77:  [url] http://ift.tt/1jBNgxh' in /var/app/current/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php:359

Stack trace:
#0 /var/app/current/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(292): Guzzle\Http\Curl\CurlMulti->isCurlException(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array)

#1 /var/app/current/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(257): Guzzle\Http\Curl\CurlMulti->processResponse(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array)

#2 /var/app/current/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(240): Guzzle\Http\Curl\CurlMulti->processMessages()

#3 /var/app/current/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php(224): Guzzl in /var/app/current/vendor/aws/aws-sdk-php/src/Aws/Common/Client/AbstractClient.php on line 256

According to some docs cUrl 77 is an ssl cert issue, but I am wondering why this would intermittently fail.

I wondered if it was that the ec2 was unable to access s3 due ot some networking issue?

Is there something I need to do to prevent this from continuing to happen?




Aucun commentaire:

Enregistrer un commentaire