Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by noxxi (Pilgrim)
on Sep 13, 2016 at 16:33 UTC ( [id://1171685]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1171685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-24 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found