Yes, it looks like SSL is enabled...output from ' php -i | grep -i ssl': opensslOpenSSL support enabled OpenSSL Version OpenSSL 1.0.0-fips 29 Mar 2010 SSL support enabled
On Wednesday, 22 August 2012 13:31:52 UTC+1, Danial Klimkin wrote: > > Hello Peter, > > > Is your php compiled with the ssl support enabled? This can be controlled > differently for different OS distributions. It could be checked with: > > $ php -i | grep -i ssl > > > -Danial, AdWords API Team. > > > On Tuesday, August 21, 2012 3:18:25 PM UTC+4, Peter Crowley wrote: >> >> Hi Daniel, >> I put this Curl code in after the 'require_once' but before the 'new >> AdWordsUser' >> >> $curl = curl_init(); >> $file = fopen($localfile, 'w'); >> curl_setopt($curl, CURLOPT_URL, "https://google.com"); #input >> curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); >> curl_setopt($curl, CURLOPT_FILE, $file); #output >> if (curl_exec($curl) === false) >> { >> echo 'Curl error: ' . curl_error($ch); >> } >> else >> { >> echo 'HTTPs test worked',$newline; >> } >> >> >> It did not help, I got this output on first run, then it worked when I >> reloaded(F5'd) the page. >> >> /home1/mysite/public_html/ads/googlehomepage.html >> HTTPs test worked >> Exception: Failed to get authToken. Reason: Failed to connect to >> 2607:f8b0:400e:c01::54: Network is unreachable in line 84 file >> /home1/mysite/public_html/libraries/aw_api_php/src/Google/Api/Ads/Common/Util/AuthToken.php >> >> >> On Tuesday, 21 August 2012 09:46:30 UTC+1, Danial Klimkin wrote: >>> >>> Hello Blode, >>> >>> >>> Please make sure your firewall allows outbound connections to google.comon >>> HTTPS port (443). For example, try opening this link with curl / wget / >>> lynx from server console: >>> >>> https://google.com >>> >>> >>> -Danial, AdWords API Team. >>> >>> >>> On Friday, August 17, 2012 1:33:18 PM UTC+4, Blode Wong wrote: >>>> >>>> important informations: >>>> >>>> when i move this script to a new network environment, it's running fine >>>> at the first time. >>>> >>>> Is it need cache the authToken? >>>> >>>> On Wednesday, August 8, 2012 10:02:43 AM UTC+8, Blode Wong wrote: >>>>> >>>>> I am getting this error message intermittently when i am running >>>>> GetRelatedKeywords.php. >>>>> >>>>> The Error Message is: >>>>> "Failed to get authToken. Reason: Failed to connect to >>>>> 2607:f8b0:4007:801::1010: Network is unreachable" >>>>> >>>>> Can anyone help me out? >>>>> >>>> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
