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

Yes, I am able to connect the URL with the same user credentials...

  • Comment on Re^2: 500 Can't connect to login.salesforce.com:443

Replies are listed 'Best First'.
Re^3: 500 Can't connect to login.salesforce.com:443
by hippo (Archbishop) on Sep 13, 2016 at 17:08 UTC

    So try this:

    #!/usr/bin/env perl use strict; use warnings; #use IO::Socket::SSL 'debug4'; use LWP; use Test::More tests => 1; my $ua = LWP::UserAgent->new; my $res = $ua->get ('https://login.salesforce.com/'); ok ($res->is_success);

    which works for me with

    • Perl v5.20.3
    • LWP 6.15
    • IO::Socket::SSL 2.012
    • Mozilla::CA 20141217

    If it fails for you, uncomment the IO::Socket::SSL line to obtain a better idea of where the problem might lie.