<?xml version="1.0" encoding="windows-1252"?>
<node id="1004616" title="Re^6: HTTP error response code 500 using LWP::UserAgent on one site, but not on any other" created="2012-11-19 16:38:23" updated="2012-11-19 16:38:23">
<type id="11">
note</type>
<author id="925765">
ted.byers</author>
<data>
<field name="doctext">
&lt;p&gt;Thanks.  That was helpful.  But it raises a couple puzzles.&lt;/p&gt;&lt;p&gt;1) I get the following output:&lt;/p&gt;&lt;code&gt;
DEBUG: .../IO/Socket/SSL.pm:1645: new ctx 45510240
DEBUG: .../IO/Socket/SSL.pm:363: socket not yet connected
DEBUG: .../IO/Socket/SSL.pm:365: socket connected
DEBUG: .../IO/Socket/SSL.pm:383: ssl handshake not started
DEBUG: .../IO/Socket/SSL.pm:446: Net::SSLeay::connect -&gt; -1
DEBUG: .../IO/Socket/SSL.pm:1320: SSL connect attempt failed with unknown error error:00000000:lib(0):func(0):reason(0)

DEBUG: .../IO/Socket/SSL.pm:452: fatal SSL error: SSL connect attempt failed with unknown error error:00000000:lib(0):func(0):reason(0)
DEBUG: .../IO/Socket/SSL.pm:1320: IO::Socket::INET configuration failed error:00000000:lib(0):func(0):reason(0)

DEBUG: .../IO/Socket/SSL.pm:1682: free ctx 45510240 open=45510240
DEBUG: .../IO/Socket/SSL.pm:1690: OK free ctx 45510240
&lt;/code&gt;&lt;p&gt;How do I determine why this low level library is unable to complete the usual SSL hand-shaking only with this server (It succeeds with every other server I have tried)&lt;/p&gt;&lt;p&gt;2) The cdirective fails on my workstation, on which the IO::Socket::SSL package is not installed.  But, while the version of Perl on the servers is 5.14 or later, that on my workstation is 5.12.  What would LWP be using for SSL on my workstation?  I suspect some subtle difference between what was used with Perl 5.12 and that used with 5.14 or 5.16 may be responsible for the observed difference in behaviour.  How would I determine this (and get similar debug information on my workstation that I am now getting on the two servers?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Ted&lt;/p&gt;</field>
<field name="root_node">
1004238</field>
<field name="parent_node">
1004598</field>
</data>
</node>
