http://www.perlmonks.org?node_id=1043213


in reply to IO::Socket::SSL incompatibility with WWW::Mechanize

Hi Madhu,
Just for completeness, what's the error you get ?

Cheers,
Rob
  • Comment on Re: IO::Socket::SSL incompatibility with WWW::Mechanize

Replies are listed 'Best First'.
Re^2: IO::Socket::SSL incompatibility with WWW::Mechanize
by Madhuk (Initiate) on Jul 09, 2013 at 01:45 UTC

    Here is the error.

    Error GETing https:weblink : Can't connect to login.xxxxxx.com:443 (connect: Unknown error) at mech_test.pl line xxx.

    Just to give more information. I don't see this problem if I run on a computer that doesn't require to go through the proxy.

    Thanks,

    Madhu

      I don't use WWW::Mechanize, but have a look at its noproxy documentation. It says:

      This needs to be explicitly turned off if you're using Crypt::SSLeay to access a https site via a proxy server. Note: you still need to set your HTTPS_PROXY environment variable as appropriate.

      Even if you're not using Crypt::SSLeay, there might be something (not sure exactly what) of relevance there.

      Cheers,
      Rob

        Hi Rob,

        Sorry for the delayed response.

        I have tried turning off and on the noproxy, but there was no change.

        Since the WWW::Mechanize works fine without installing either Net::SSLeay or IO::SOCKET::SSL, is there any debug methodology where I can get the call stack trace? I can use that to run with and without installing the packages and see the difference.

        Thanks,

        Madhu