Menu

#32 LWP::UserAgent fails with IO::Socket::SSL

open
nobody
None
5
2004-05-16
2004-05-16
Anonymous
No

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).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.