http://qs321.pair.com?node_id=1106051


in reply to Re^3: 500 error with LWP:UserAgent
in thread 500 error with LWP:UserAgent

May i ask for your perl -MIO::Socket::SSL -e 'print "$IO::Socket::SSL::VERSION\n"' version please ?

I just was able to test on a machine with
perl 5.14.2
LWP:User::Agent 6.04
IO::Socket::SSL 1.76
Net::SSLeay 1.48 (while mine is 1.55)
and it just worked fine (exact same code, I scp-ed it)

Replies are listed 'Best First'.
Re^5: 500 error with LWP:UserAgent
by Loops (Curate) on Nov 04, 2014 at 15:28 UTC

    Well I configured one machine as yours to test:

  • LWP::UserAgent : 6.06
  • IO::Socket::SSL : 1.955
  • Net::SSLeay : 1.66
  • Just retried with SSLeay @ 1.55, still works fine.

    This is all testing with Perl 5.14.2 to stay as close to yours as possible. However, it may well be the underlying OpenSSL version. All the machines here are Fedora 20 boxen.. with:

    openssl-1.0.1e-40.fc20.x86_64

    Would be interesting to see if your two machines have separate versions. By the way, on the machine that works for you, maybe give it a go with and without the SSL_version parameter.

      On the working machine, it works only with th SSL_version set as you said ('TLSv1' is enough of a version to specify). It doesnt without.

      Both machines have same version of openssl, that is to say : "OpenSSL 1.0.1e 11 Feb 2013"

      (Btw : I thank you a lot for all efforts you re doing to help me there :) )