in reply to Re: WWW::Mechanize with https and a proxy
in thread WWW::Mechanize with https and a proxy
... $mech->proxy(['https', 'http', 'ftp'], 'my_proxy:8080'); much better than $ENV{HTTPS_PROXY} = 'my_proxy:8080';
You are correct in theory :) In practice, though, I think it's a known problem that LWP's proxy method doesn't work with HTTPS (see the yellow box on the right on the page linked to). This has come up a couple of times (here at PM, and elsewhere), and the workaround has so far typically been to use Crypt::SSLeay in combination with the HTTPS_PROXY env var. So, unless the issue has been fixed in the meantime (which I don't think it has), it's always a good default strategy to try what has worked for others... Hopefully, the OP will report back with what worked in this case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: WWW::Mechanize with https and a proxy
by justinm1 (Initiate) on Oct 10, 2007 at 14:09 UTC | |
by Anonymous Monk on Apr 03, 2009 at 15:22 UTC | |
|
Re^3: WWW::Mechanize with https and a proxy
by Gangabass (Vicar) on Oct 10, 2007 at 08:00 UTC |