LWP::UserAgent fails with IO::Socket::SSL
Brought to you by:
gisle
Using LWP::UserAgent for an https request works fine so long as IO::
Socket::SSL is not loaded. If it is loaded, then the error message "Can't
connect to server.host.name:443 ()" is returned.
IO::Socket::SSL::VERSION == 0.80
LWP::VERSION == 5.64
Net::SSL::VERSION == 2.30
IO::Socket::SSL::VERSION == 0.80
LWP::VERSION == 5.64
Net::SSL::VERSION == 2.77
Setting $IO::Socket::SSL::VERSION = 0 before issuing the https request
makes it work, so the problem is definitely that LWP is choosing to use
IO::Socket::SSL and it is not working together.
I believe IO::Socket::SSL works by itself (as other code on this machine
uses it).