Hi Yannick,
I'm posting my resolution here for people with the same issue.
Basically what it comes down to is that this issue occurs on windows running dev_appserver and attempting to test your application locally. I would be curious to know if you could reproduce it knowing that, as it seems I'm not alone.
The resolution was to modify Guzzle code (which I'm really not happy about having to do) to support googles implementation of php in the dev environment.
I changed the file:
\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php
line 370
At this statement:
$conf[CURLOPT_FILE] = fopen('php://temp', 'w+');
And added BELOW it:
//JAY_NIC_CHANGE: GUZZLE_GOOGLE_WINDOWS_CURL_IMPLEMENTATION
if(isset($_SERVER['SERVER_SOFTWARE'])
&& 0 === strpos($_SERVER['SERVER_SOFTWARE'], 'Development/')) {
//echo "HEY HEREI AM";
$conf[CURLOPT_FILE] = fopen(getenv('temp').uniqid(), 'w+');
}
Of course, modifying a dependency's code is a no-no... But I'm not really sure what else I'm supposed to do...
It seems that the certificate error:
"No system CA bundle could be found in any of the the common system locations. PHP versions earlier than 5.6 are not properly configured to use the system's CA bundle by default. In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle to the 'verify' request option"
- was ALSO plaguing this implementation. Again, I'd love to know if you follow those steps on a windows machine and attempt to test in the dev environment: if you'd get the same results. I suspect so.
On a personal note: this is not the first time, (and I suspect not the last time) that the tutorials I've followed in the app engine just haven't worked, or have otherwise been vague, or incomplete. Being that I have deliverables to work with: I need to get this project done. But once it's working, I'm going to be moving the project over to heroku - I've followed all their tutorials, and things just work, no problems.
I hope this helps other people