bigdatageek has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I am migrating a script from one server to another. In the first server, I set the proxy variable doing ONLY this:
$ENV{HTTPS_PROXY} = $http_proxyurl . ':' . $http_proxyprt;
Then I am able to pass through the proxy absolutely no problem calling loads of different subroutines/packages using SOAP::Data, LWP::UserAgent, etc. When I move the exact same script to another server, it hangs. I have pored over Perl Monks and Google and just can't seem to figure it out... any ideas? I've tried Net::SSL, PERL_LWP_SSL_VERIFY_HOSTNAME=0, not sure what else to try... I am wondering if I have some module installed on the first server that is making it possible. Does $ENV default to any certain module? These are identical scripts.
If you need more info please let me know - thanks!!!
UPDATE: I noticed that libproxy is packaged with RHEL 6 but not 5. /usr/bin/proxy does not exist on the server where the $ENV{HTTPS_PROXY} setting does not work.
|
|---|