PHP executes GetRefreshToken.php file and reports cRUL 35 error

878 views
Skip to first unread message

苑栋杰

unread,
Mar 7, 2019, 5:14:17 AM3/7/19
to AdWords API and Google Ads API Forum
PHP executes the GetRefreshToken.php file and reports an error in the last step. The following is the error content:

Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 35: LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to oauth2.googleapis.com:443  (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /Users/mena/Documents/www/laravel-admin/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:185
Stack trace:
#0 /Users/mena/Documents/www/laravel-admin/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(149): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 /Users/mena/Documents/www/laravel-admin/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(102): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 /Users/mena/Documents/www/laravel-admin/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\Cu in /Users/mena/Documents/www/laravel-admin/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 185

Laravel 5.5 framework and php library introduced with composer. I want to know why this is happening and solve it. This problem has been bothering me for a long time. Thank you for your help.
I am in China, using the shadowsocks global proxy

googleadsapi...@google.com

unread,
Mar 7, 2019, 2:47:35 PM3/7/19
to AdWords API and Google Ads API Forum
Hello,

Seems like the error is related to the network connection or the proxy connection of your machine, but not related to the AdWords API. I found a github issue where some of the users found solution by updating with the brew, libressl, openssl and curl and rebooting the machine. Please give it a try if the problem still persists, you could create a new issue on the PHP client library from here.

Regards,
Sai Teja, AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Message has been deleted

苑栋杰

unread,
Jun 21, 2019, 5:24:26 PM6/21/19
to AdWords API and Google Ads API Forum
May be my proxy problem, now my proxy host is Hong Kong IP, shadowsocks+profixier can access google search and other business websites, but access to the Adwords interface will fail to connect, do you know what is the reason?

在 2019年3月8日星期五 UTC+8上午3:47:35,googleadsapi-forumadvisor写道:

Google Ads API Forum Advisor Prod

unread,
Jun 24, 2019, 9:33:34 AM6/24/19
to adwor...@googlegroups.com
Hello,

Could you please contact them from the help channels mentioned here? If you any API related concerns please elaborate, I am happy to help.

Regards,
Sai Teja, Google Ads API Team

ref:_00D1U1174p._5001UCYgrB:ref
Reply all
Reply to author
Forward
0 new messages