davidelias16 / google-appengine-mac-launcher

Automatically exported from code.google.com/p/google-appengine-mac-launcher
Apache License 2.0
0 stars 0 forks source link

Unsupported SSL Context [Errno 8] _ssl.c:507: EOF occurred in violation of protocol #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I just installed Google App Engine SDK 1.9.18 and this is the error I get on my 
dev server. When I deploy the app, I get no such error. I am using php55.

Warning: file_get_contents(https://website.com): failed to open stream: 
Unsupported SSL context options are set. The following options are present, but 
have been ignored: allow_self_signed<br /> SSL certificate error - certificate 
invalid or non-existent, [Errno 8] _ssl.c:507: EOF occurred in violation of 
protocol in

---

Here is my code:

$context = stream_context_create(
    array(
        'ssl' => array('verify_peer' => false, 'allow_self_signed' => true),
        'http' => array( 'method' => 'GET' )
    )
);
$call_url = file_get_contents('https://website.com' false, $context);

Here is my stackoverflow post: 
http://stackoverflow.com/questions/28996360/php-gae-sdk-1-9-18-unsupported-ssl-c
ontext

Original issue reported on code.google.com by bgo...@gmail.com on 19 Mar 2015 at 7:50