Skip Menu |
 

This queue is for tickets about the Xen-API CPAN distribution.

Report information
The Basics
Id: 90083
Status: resolved
Priority: 0/
Queue: Xen-API

People
Owner: Nobody in particular
Requestors: ryszard.lach [...] unity.pl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Certificate verification problem should return helpful message
Date: Wed, 6 Nov 2013 11:08:26 +0100
To: <bug-Xen-API [...] rt.cpan.org>
From: Ryszard Łach <ryszard.lach [...] unity.pl>
Download (untitled) / with headers
text/plain 734b
Hi. I'm trying to use Xen-API-0.06.tar.gz. After calling Xen::API->new I get an error: Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.14.2/Xen/API.pm line 750, <STDIN> line 1. at /usr/local/share/perl/5.14.2/Xen/API.pm line 750, <STDIN> line 1. Tracing into with perldebug I can see: DB<6> RPC::XML::Client::simple_request(/usr/local/share/perl/5.14.2/RPC/XML/Client.pm:196): 196: if (! ref $return) 197: { DB<6> p $return RPC::XML::Client::send_request: HTTP server error: Can't connect to myhost:443 (certificate verify failed) Indeed, my xen host responds with self-signed certificate. It would be nice, if it could be seen without debuger. Best regards, Ryszard.
Download (untitled) / with headers
text/plain 533b
On Wed Nov 06 05:08:56 2013, ryszard.lach@unity.pl wrote: Show quoted text
> After calling Xen::API->new I get an error: > > Use of uninitialized value in concatenation (.) or string at > /usr/local/share/perl/5.14.2/Xen/API.pm line 750, <STDIN> line 1. > at /usr/local/share/perl/5.14.2/Xen/API.pm line 750, <STDIN> line 1.
Cool, thanks for letting me know. I think I've fixed the problem, so now the code checks the $RPC::XML::ERROR variable and throws if it's populated. The fix is in version 0.07. Please let me know if it's still not working.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.