in reply to [Solved] LWP/HTTPS/Proxy error: Server closed connection without sending any data back

Depending on your version of IO::SSLeay (or whatever), LWP doesn't have much bearing on the proxy to be used for HTTPS. In one situation, the following worked:

BEGIN { $ENV{HTTPS_PROXY} = 'http://myproxy.internal.corion:8080'; $ENV{HTTPS_PROXY_USERNAME} = 'Corion'; $ENV{HTTPS_PROXY_PASSWORD} = 'Corion'; }; use Crypt::SSLeay; use WWW::Mechanize; ...
  • Comment on Re: LWP/HTTPS/Proxy error: Server closed connection without sending any data back
  • Download Code

Replies are listed 'Best First'.
Re^2: LWP/HTTPS/Proxy error: Server closed connection without sending any data back
by chacham (Prior) on Apr 30, 2014 at 14:14 UTC

    Thanx for the info. I tried it in both script and it did not help. :(