guelug / google-api-adwords-php

Automatically exported from code.google.com/p/google-api-adwords-php
Apache License 2.0
0 stars 0 forks source link

ReportUtils::DownloadReportFromUrl fails on RHEL6/CentOS6 with libcurl 7.19.7 and openSSL 1.0.0 #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of the library are you using?

3.2.1 and 3.1.1 both tested

Which version of PHP are you using?

tested with 5.36, 5.3.8 and latest 5.3.18
all with libcurl 7.19.7 and openSSL 1.0.0 as from the yum repos

What steps will reproduce the problem?

define a report with ReportService, try to download it with 
ReportUtils::DownloadReport

What is the expected output? What do you see instead?

Report should download fine 
but
curl_exec in ReportUtils::DownloadReportFromUrl fails with "ssl connect error" 
and http code 0

Please provide any additional information below.

Same code works fine with same PHP build on RHEL5 with libcurl 7.15.5 and 
openSSL 0.9.8b.
In a simple test.php, curl_exec with exact same setopts/headers/url works fine.
Somehow the curl session gets messed up in the adwords libraries context
Enabling Debug output for curl in the library yields nothing

Original issue reported on code.google.com by the.cyp...@gmail.com on 31 Oct 2012 at 1:12

GoogleCodeExporter commented 8 years ago
oh and this happens with both v201206 and v201209

Original comment by the.cyp...@gmail.com on 31 Oct 2012 at 1:12

GoogleCodeExporter commented 8 years ago
this is the same as stated before via email, ticket ID #1142493531
just posting here for the sake of completeness

Original comment by the.cyp...@gmail.com on 31 Oct 2012 at 1:17

GoogleCodeExporter commented 8 years ago
Have repeatedly tested on 5.4 (now our current working environment).

Unable to reproduce at this point.

Will revisit in the new year.

Regards,

Paul Matthews.

Original comment by api.pmat...@gmail.com on 28 Dec 2012 at 2:24