cURL gives me the error:
Operation timed out after 0 milliseconds with 0 out of 0 bytes received
In particular, the \"0 milliseconds\" par
I had the same issue, when tried to connect via https. Problem was with ssl version. This worked well for me:
$ch=curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSLVERSION, 3);