in reply to 500 Can't connect to login.salesforce.com:443

Please make sure that you are using at least LWP version 6.06. Proxy support with IO::Socket::SSL is broken in earlier versions.
  • Comment on Re: 500 Can't connect to login.salesforce.com:443

Replies are listed 'Best First'.
Re^2: 500 Can't connect to login.salesforce.com:443
by kunaltyagi (Novice) on Sep 14, 2016 at 13:58 UTC

    Thanks all...was able to find a fix finally in my script moved below code out of SOAP LITE and it works $ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "Net::SSL"; $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; $ENV{HTTPS_PROXY} = 'https://xx.xxx......'; This was the one we were missing: $ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "Net::SSL"; Thanks for everyone's guidance!

      This is heavily insecure because you for one enforce the use of a class which does no proper certificate validation and second additionally disable any remaining validation. This way you will not notice if some man in the middle will grab your login credentials.

        Hi gods....could you please explain in more detail...this solution is working perfectly for me..I am running my script in vpn network..still I do have chances of credential stolen?