SSL3_GET_RECORD:wrong version number

82 views
Skip to first unread message

Aleksandar Bradaric

unread,
Jul 21, 2008, 9:05:50 AM7/21/08
to adwor...@googlegroups.com
Hi,

I'me getting a strange error with some code which worked fine a while
ago. Here's the error message:

---
Service description
'http://adwords.google.com/api/adwords/v12/KeywordToolService?wsdl'
can't be loaded: 500 read failed: error:1408F10B:SSL
routines:SSL3_GET_RECORD:wrong version number
---

This is the code that produces the error:
---
#!/usr/bin/perl -w

use strict;
use warnings;
use SOAP::Lite;

my $version = 12;
my $server = 'adwords';

my $url = "http://" . $server . ".google.com/api/adwords/v" . $version .
"/KeywordToolService?wsdl";

my $service = SOAP::Lite->service($url);
$service->autotype(0);

...
---

What has changed? It worked fine with v11 and now I can't make it work
neither with v11 nor with v12... :(

Thanks.


Take care,
Aleksandar

AdWords API Advisor

unread,
Jul 21, 2008, 11:49:07 AM7/21/08
to AdWords API Forum
Hello Aleksandar,

One thing that jumps out is that you're accessing the URLs as http://
instead of https://. Could you try switching over to https://?

Other than that, there's nothing that recently changed with the
adwords.google.com SSL certificate, as far as I know. Have you done
anything with your Perl SSL libraries lately? Or your OpenSSL
installation?

Cheers,
-Jeff Posnick, AdWords API Team
Reply all
Reply to author
Forward
0 new messages