Thanks! Yes I used the print trick prior to my post, but forgot to mention that is how I figured out where it is hanging. Also, yes I am using strict/warnings. I get a timeout error: Could not login to SFDC: 500 Can't connect to www.salesforce.com:443 (timeout)
The server where it works: Red Hat Enterprise Linux Server release 6.7
The server where it doesn't work: Red Hat Enterprise Linux Server release 5.11
Here is the code:#!/usr/bin/perl use strict; use warnings; use Storable; use POSIX qw(strftime); # Parameter/host file require "host.pl"; # Environment Proxy our $http_proxyurl; our $http_proxyprt; $ENV{HTTPS_PROXY} = $http_proxyurl . ':' . $http_proxyprt; use WWW::Salesforce; our $sfdc_username; our $sfdc_password; our $sfdc_secrtokn; our $sfdc_instance; our $sfdc_soap_url; our $sfdc_versnnum; our $oper_emailadd; my $sfdc_loginatt = eval { WWW::Salesforce->login( username => $sfdc_username, password => $sfdc_password.$sfdc_s +ecrtokn, serverurl=> 'https://' . $sfdc_ins +tance . '.' . $sfdc_soap_url . $sfdc_versnnum ); }; if ($@) { warn "Could not login to SFDC: $@"; die; };
In reply to Re^2: $ENV{HTTPS_PROXY} works in one environment but not another
by bigdatageek
in thread $ENV{HTTPS_PROXY} works in one environment but not another
by bigdatageek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |