develooper Front page | perl.libwww | Postings from October 2001

Re: LWP 5.53_97 with Crypt::SSLeay-0.31

Thread Previous | Thread Next
From:
la mouton
Date:
October 22, 2001 13:13
Subject:
Re: LWP 5.53_97 with Crypt::SSLeay-0.31
Message ID:
Pine.GSO.4.21.0110221610070.9999-100000@amethyst.chronos.net
Heres an arguably more helpful LWP trace output:

[root@dexter Crypt-SSLeay-0.31]# ./lwp-ssl-test -d
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: HEAD https://www.nodeworks.com
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http11::request: ()
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server key exchange A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:SSLv3 read finished A
LWP::UserAgent::request: Simple response: Internal Server Error
$VAR1 = bless( {
                 '_request' => bless( {
                                        '_method' => 'HEAD',
                                        '_headers' => bless( {

'user-agent' => 'libwww-perl/5.5397'
                                                             },
'HTTP::Headers' ),
                                        '_uri' => bless( do{\(my $o =
'https://www.nodeworks.com')}, 'URI::https' ),
                                        '_content' => ''
                                      }, 'HTTP::Request' ),
                 '_headers' => bless( {
                                        'client-date' => 'Mon, 22 Oct 2001
20:12:35 GMT'
                                      }, 'HTTP::Headers' ),
                 '_msg' => 'read failed:  at
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Net/SSL.pm line 201.

Net::SSL::die_with_error(\'LWP::Protocol::MyHTTPS=GLOB(0x83ed110)\',
\'read failed\') called at
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Net/SSL.pm line 211
        Net::SSL::read(\'LWP::Protocol::MyHTTPS=GLOB(0x83ed110)\', \'\',
1024, 0) called at /usr/local/lib/perl5/site_perl/5.6.1/Net/HTTP.pm line
225

Net::HTTP::my_readline(\'LWP::Protocol::MyHTTPS=GLOB(0x83ed110)\') called
at /usr/local/lib/perl5/site_perl/5.6.1/Net/HTTP.pm line 279

Net::HTTP::read_response_headers(\'LWP::Protocol::MyHTTPS=GLOB(0x83ed110)\') called
at /usr/local/lib/perl5/site_perl/5.6.1/LWP/Protocol/http11.pm line 328

LWP::Protocol::http11::request(\'LWP::Protocol::https11=HASH(0x8411420)\',
\'HTTP::Request=HASH(0x83df6d0)\', undef, undef, undef, 180) called at
/usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 357
        eval {...} called at
/usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 356
        LWP::UserAgent::send_request(\'LWP::UserAgent=HASH(0x8363ed0)\',
\'HTTP::Request=HASH(0x83df6d0)\', undef, undef) called at
/usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 428
        LWP::UserAgent::simple_request(\'LWP::UserAgent=HASH(0x8363ed0)\',
\'HTTP::Request=HASH(0x83df6d0)\', undef, undef) called at
/usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 448
        LWP::UserAgent::request(\'LWP::UserAgent=HASH(0x8363ed0)\',
\'HTTP::Request=HASH(0x83df6d0)\') called at ./lwp-ssl-test line 26
',
                 '_rc' => 500,
                 '_content' => ''
               }, 'HTTP::Response' );
[root@dexter Crypt-SSLeay-0.31]# 



On Mon, 22 Oct 2001, la mouton wrote:

> anyone have any problems running the lwp-ssl-test program that comes with
> the Crypt::SSLeay-0.31 package?
> 
> Crypt::SSLeay seems to work great with LWP 5.53 but doesn't with the
> latest 5.53_97 and the latest openssl-0.9.6b.
> 
> 
> Here is the output of lwp-ssl-test with the -d debug flag.
> 
> Note the line:
> LWP::UserAgent::request: Simple response: Internal Server Error
> 
> 
> 
> [root@dexter Crypt-SSLeay-0.31]# ./lwp-ssl-test -d
> LWP::UserAgent::new: ()
> LWP::UserAgent::request: ()
> LWP::UserAgent::send_request: HEAD https://www.nodeworks.com
> LWP::UserAgent::_need_proxy: Not proxied
> LWP::Protocol::http11::request: ()
> SSL_connect:before/connect initialization
> SSL_connect:SSLv2/v3 write client hello A
> SSL_connect:SSLv3 read server hello A
> SSL_connect:SSLv3 read server certificate A
> SSL_connect:SSLv3 read server key exchange A
> SSL_connect:SSLv3 read server done A
> SSL_connect:SSLv3 write client key exchange A
> SSL_connect:SSLv3 write change cipher spec A
> SSL_connect:SSLv3 write finished A
> SSL_connect:SSLv3 flush data
> SSL_connect:SSLv3 read finished A
> LWP::UserAgent::request: Simple response: Internal Server Error
> $VAR1 = bless( {
>                  '_request' => bless( {
>                                         '_method' => 'HEAD',
>                                         '_headers' => bless( {
> 
> 'user-agent' =>             'libwww-perl/5.5397'
>                                                              },
> 'HTTP::Headers'             ),
>                                         '_uri' => bless( do{\(my $o =
> 'https://            www.nodeworks.com')}, 'URI::https' ),
>                                         '_content' => ''
>                                       }, 'HTTP::Request' ),
>                  '_headers' => bless( {
>                                         'client-date' => 'Mon, 22 Oct 2001
> 19:4            3:00 GMT'
>                                       }, 'HTTP::Headers' ),
>                  '_msg' => 'read failed: ',
>                  '_rc' => 500,
>                  '_content' => ''
>                }, 'HTTP::Response' );
> [root@dexter Crypt-SSLeay-0.31]# 
> 
> 


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About