Google with Net::OpenID::Consumer - no_identity_server error

153 views
Skip to first unread message

Andrew Garrett

unread,
Mar 30, 2009, 11:11:52 AM3/30/09
to Net::OpenID for Perl
Hi all,

Like the poster at http://groups.google.com/group/openid-perl/browse_thread/thread/4fd98b392d191e7a,
I've been trying to use Google OpenID with Net::OpenID::Consumer.

The exact error message given is: no_identity_server: The provided URL
doesn't declare its OpenID identity server. at AndrewWeb/Page/
OpenID.pm line 84. The code for that file is available at http://tr.im/hZmp
along with the other files in that project.

In that thread, the suggestion is to upgrade to the maintenance branch
at:
http://code.sixapart.com/svn/openid/branches/1.0/perl/Net-OpenID-Consumer/

I upgraded to revision 180 (output follows), and ran the standard perl
Makefile.pl / make / sudo make install routine to try to install it,
but I still get the same error message.

andrew@werdna:~/download$ svn co http://code.sixapart.com/svn/openid/branches/1.0/perl/Net-OpenID-Consumer/
<snip>
Checked out revision 180.

Was my Yadis.pm adequately updated? The version line in the file as it
is now is `$VERSION = "0.05";'

Am I missing something in the solution for this problem?

Thanks for your assistance,

Andrew Garrett

Martin Atkins

unread,
Mar 30, 2009, 12:30:44 PM3/30/09
to openi...@googlegroups.com

The $VERSION of Yadis.pm is the version Net::Yadis::Discovery was at
when we forked it. It is not significant.

I wonder if the problem here is that your libwww-perl doesn't have SSL
support, so it's failing to connect to Google's SSL identifier URL.
Installing Crypt::SSLeay should give you Net::SSL which will in turn
make LWP::Protocol::https work.

If you already have Net::SSL installed then there's a different problem.
Enabling debug mode might help. Add an additional "debug" argument to
the Net::OpenID::Consumer constructor call; if you set it to a true
value then it'll print error messages to STDERR, or you can provide a
CODE ref that accepts a single argument to do something else with the
error messages.

Andrew Garrett

unread,
Mar 30, 2009, 8:06:44 PM3/30/09
to openi...@googlegroups.com
On Tue, Mar 31, 2009 at 3:30 AM, Martin Atkins <ma...@degeneration.co.uk> wrote:
> I wonder if the problem here is that your libwww-perl doesn't have SSL
> support, so it's failing to connect to Google's SSL identifier URL.
> Installing Crypt::SSLeay should give you Net::SSL which will in turn
> make LWP::Protocol::https work.
>
> If you already have Net::SSL installed then there's a different problem.
> Enabling debug mode might help. Add an additional "debug" argument to
> the Net::OpenID::Consumer constructor call; if you set it to a true
> value then it'll print error messages to STDERR, or you can provide a
> CODE ref that accepts a single argument to do something else with the
> error messages.

Perfect, that was the exact problem. Thank you very much for your
quick and helpful response!

--
Andrew Garrett
Sent from: Sydney Nsw Australia.

Reply all
Reply to author
Forward
0 new messages