question

Customer Service avatar image
Customer Service asked ·

CURL Update Crashed Api

A client's custom API stopped working last night after a curl update. Our server admins were able to roll back the update and everything worked just fine again. But, they indicate the update is going to be downloaded again - so, what can be done to make sure the RingCenteral PHP SDK continues to work? It was installed using COMPOSER.


This is package that crashed the API:



Command Line : -y install ea-libcurl-7.79.1-2.2.3.cpanel.x86_64.rpm

Transaction performed with:

Installed rpm-4.8.0-59.el6.x86_64 @base

Installed yum-3.2.29-81.el6.centos.0.1.noarch @updates

Installed yum-plugin-fastestmirror-1.1.30-42.el6_10.noarch @updates

Packages Altered:

Updated ea-libcurl-7.69.1-2.2.3.cpanel.x86_64 @EA4

Update 7.79.1-2.2.3.cpanel.x86_64 @/ea-libcurl-7.79.1-2.2.3.cpanel.x86_64

fax api
2 comments
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

This is the error from the log before we rolled-back the CURL update from last night:


[17-Apr-2020 13:03:45 UTC] PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 3: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /home/***CLIENTDIR***/sdk-php-rcentral/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186

Stack trace:

#0 /home/***CLIENTDIR***/sdk-php-rcentral/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(149): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)

#1 /home/***CLIENTDIR***/sdk-php-rcentral/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(102): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))

(continued)

0 Likes 0 · ·

(continued)

#2 /home/***CLIENTDIR***/sdk-php-rcentral/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))

#3 /home/***CLIENTDIR***/sdk-php-rcentral/vendor/guzzlehttp/guzzle/src/Handl in /home/***CLIENTDIR***/sdk-php-rcentral/vendor/ringcentral/ringcentral-php/src/Http/Client.php on line 52

0 Likes 0 · ·

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

Can you check you dependencies based on the SDK requirements https://github.com/ringcentral/ringcentral-php/blob/master/composer.json

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.