-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AuthenticateInStandaloneApplication.php faulting when run from examples #289
Comments
Could you try what's suggested in this wiki and see if the issue is gone? |
The Curl file mentioned was missing, went through the guide and re-added it but no change was made to the issue. |
Could you elaborate what "Curl" file is missing? You mean you don't have curl command in your system? |
The .crt file was missing. Curl is in and functional now |
What steps did you do in particular? There are many steps in the wiki, so could you please specify what you did in detail? And in what line of AuthenticateInStandaloneApplication did it stop? |
Went to recreate the steps to get the point in which it stopped, and it seemed to run this time, Wiki fix must have gone though. I re-downladed the curl-ca-bundle.crt and placed it in my home path, then used the first of the three solutions (explicit connection in PHP.ini) |
Which version of the client library are you using?
3.1.0
Which version of PHP are you using?
PhP 7.4.3
Which operating system (Linux, Windows, ...) and version?
Windows 10 - 10.0.18363 Build 18363
Actions taken
AuthenticateInStandaloneApplication.php run normally, oauth details provided and authenticated, authorization code provided with no problem.
Expected result
Application proceeds as normal to verify my Oauth key
Actual result
Process stops, PHP fatal errors provided as below -
`PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate
(see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:201
Stack trace:
#0 C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHt in C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 201
Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see
https://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:201
Stack trace:
#0 C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHt in C:\Users\Mike\Desktop\Work Data\Code\google-ads\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 201`
The text was updated successfully, but these errors were encountered: