AnsweredAssumed Answered

cURL error 35 in AkamaiOPEN-edgegrid-php

Question asked by Daniel Vieira on Sep 15, 2016
Latest reply on Sep 23, 2016 by Daniel Vieira

Good afternoon everyone, today at 9:00 am my collectors of information were functioning normally now when attempting to authenticate or make GET returns the following error: cURL error 35: SSL connect error (see http: //curl.haxx. if / libcurl / c / libcurl-errors.html)


I'm using the AkamaiOPEN-edgegrid-php and it was normal functioning.

Can someone help me?


My code: 


ini_set("display_errors", 1);
require_once __DIR__.'/cli/init.php';
echo '============================='.PHP_EOL;
echo "Iniciando sistema REST Akamai Open...".PHP_EOL;
echo "Colentando dados...".PHP_EOL;

$client = \Akamai\Open\EdgeGrid\Client::createFromEdgeRcFile('default', '/telecom/www/html/akamai/api-kickstart/.edgerc');
$response = $client->get('/alerts/v1/portal-user?status=active');
$response = json_decode($response->getBody(), true);
echo $response->alertList->alerts[0]->type.PHP_EOL;
}catch(Exception $e){
echo 'Ocorreu um erro durante a requisicao: '.$e->getMessage(),"\n"."Code: ".$e->getCode().PHP_EOL;

#$alert = $client->get('/alerts/v1/portal-user/alert/145503365');
#$alert = json_decode($alert->getBody(), true);