We have a perl-5.10.1 install tree that is quite up to date. All SSL
related things have been compiled and linked against OpenSSL-0.9.8r

We have a perl-5.14.2 tree ready to take over, but that has been
compiled against OpenSSL-1.0.0e and therefor is not compatible with
the situation currently available at the customers site. The upgrade
will happen as soon as all the 5.14.2 tests have been finished and
no problems remain. As that upgrade will also have to synchronized
with the move to OpenSSL-1.0.0, we are pretty much bound to 5.10.1
for now.

When we (try to) communicate using SOAP with libwww-6.03, we get this
error:
--8<---
SOAP::Transport::HTTP::Client::send_receive: 
HTTP::Response=HASH(0x6000000001d00150) 
SOAP::Transport::HTTP::Client::send_receive: 500 Can't connect to 
bcgba.burgerservicenummer.nl:443
Content-Type: text/plain
Client-Date: Wed, 26 Oct 2011 15:04:10 GMT
Client-Warning: Internal response

Can't connect to bcgba.burgerservicenummer.nl:443

LWP::Protocol::https::Socket: SSL connect attempt failed because of handshake 
problemserror:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake 
failure at /pro/lib/perl5/site_perl/5.10.1/LWP/Protocol/http.pm line 51.
SOAP::Deserializer::deserialize: ()
SOAP::Parser::decode: ()
-->8---

When I then downgrade libwww to 5.837 all goes smooth.

That gives me no good feeling in my possible move to 5.14.2

A serious problem that I encounter in debugging that, is that this
process cannot be simulated on sites other than on the customer
machine, as the test-environment of this service that we as software
developers can access is not identical to the site that the customers
(try to) access, so I can only test on one single (test) box when the
customer allows me to access it (over a dial-in ISDN line).

Is this a bug in libwww-6 or are there other paths to consider.

The diff of all involved modules (< is working, > is fail)
--8<---
36,42c36,42
<  5.835 HTTP::Config
<  5.831 HTTP::Date
<  5.835 HTTP::Headers
<  5.837 HTTP::Message
<  5.827 HTTP::Request
<  5.836 HTTP::Response
<  5.817 HTTP::Status
---
>   6.00 HTTP::Config
>   6.00 HTTP::Date
>   6.00 HTTP::Headers
>   6.02 HTTP::Message
>   6.00 HTTP::Request
>   6.01 HTTP::Response
>   6.00 HTTP::Status
57c57
<  5.837 LWP
---
>   6.03 LWP
59c59
<  5.829 LWP::Protocol
---
>   6.00 LWP::Protocol
62c62
<  5.835 LWP::UserAgent
---
>   6.03 LWP::UserAgent
66,68c66,68
<  5.834 Net::HTTP
<  5.834 Net::HTTP::Methods
<  5.819 Net::HTTPS
---
>   6.01 Net::HTTP
>   6.00 Net::HTTP::Methods
>   6.00 Net::HTTPS
-->8---

The complete list of involved modules:
--8<---
  5.71 AutoLoader
  1.22 B
  0.89 B::Deparse
  1.23 Carp
     - Carp::Heavy,
  1.25 Class::Inspector
 2.037 Compress::Raw::Zlib
     - Config,
     - Config_git.pl,
     - Config_heavy.pl,
  0.58 Crypt::SSLeay
     - Crypt::SSLeay::CTX,
     - Crypt::SSLeay::MainContext,
     - Crypt::SSLeay::X509,
  1.23 DBD::Oracle
     - DBD::Oracle::Object,
 1.616 DBI
 2.131 Data::Dumper
  0.36 Data::Peek
  1.10 DynaLoader
  2.44 Encode
  2.15 Encode::Alias
  2.05 Encode::Config
     - Encode::ConfigLocal,
  2.05 Encode::Encoding
  1.11 Errno
  5.65 Exporter
  5.65 Exporter::Heavy
  1.06 Fcntl
  1.06 File::Glob
 1.000 File::GlobMapper
  3.33 File::Spec
  3.33 File::Spec::Unix
  2.02 FileHandle
  2.38 Getopt::Long
 5.835 HTTP::Config
 5.831 HTTP::Date
 5.835 HTTP::Headers
 5.837 HTTP::Message
 5.827 HTTP::Request
 5.836 HTTP::Response
 5.817 HTTP::Status
  1.25 IO
 2.037 IO::Compress::Base::Common
 2.037 IO::Compress::Gzip::Constants
 2.037 IO::Compress::Zlib::Extra
  1.14 IO::File
  1.28 IO::Handle
  1.10 IO::Seekable
  1.31 IO::Socket
  1.31 IO::Socket::INET
  1.23 IO::Socket::UNIX
 2.037 IO::Uncompress::Adapter::Inflate
 2.037 IO::Uncompress::Base
 2.037 IO::Uncompress::Gunzip
 2.037 IO::Uncompress::RawInflate
 5.837 LWP
     - LWP::MemberMixin,
 5.829 LWP::Protocol
     - LWP::Protocol::http,
     - LWP::Protocol::https,
 5.835 LWP::UserAgent
  1.23 List::Util
     - Log::Agent,
  3.13 MIME::Base64
 5.834 Net::HTTP
 5.834 Net::HTTP::Methods
 5.819 Net::HTTPS
  2.85 Net::SSL
  1.42 Net::SSLeay
  1.08 PROCURA::Cache::BEV
   1.3 PROCURA::DBD
  4.32 PROCURA::Diac
  1.06 PerlIO
  0.07 PerlIO::scalar
 0.714 SOAP::Constants
 0.714 SOAP::Lite
     - SOAP::Lite::Deserializer::XMLSchemaSOAP1_1,
     - SOAP::Lite::Deserializer::XMLSchemaSOAP1_2,
     - SOAP::Lite::Utils,
 0.714 SOAP::Packager
 0.714 SOAP::Transport::HTTP
  1.23 Scalar::Util
  1.02 SelectSaver
  1.82 Socket
  2.30 Storable
  1.07 Symbol
1.2000 Time::Local
  1.59 URI
  3.31 URI::Escape
     - URI::_generic,
     - URI::_idna,
  0.04 URI::_punycode
     - URI::_query,
     - URI::_server,
     - URI::http,
     - URI::https,
  2.41 XML::Parser
  2.41 XML::Parser::Expat
 0.612 XML::Writer
  0.15 XSLoader
  2.15 base
  1.03 bytes
  1.07 charnames
  1.21 constant
  1.00 integer
  1.07 overload
  0.09 re
  1.04 strict
     - unicore/Exact.pl,
     - unicore/Name.pl,
     - unicore/PVA.pl,
     - unicore/lib/gc_sc/Digit.pl,
     - unicore/lib/gc_sc/SpacePer.pl,
     - unicore/lib/gc_sc/Word.pl,
     - unicore/pro_alias.pl,
  1.07 utf8
     - utf8_heavy.pl,
  1.01 vars
  1.06 warnings
  1.01 warnings::register
-->8---

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Reply via email to