Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: IO::Socket::SSL incompatibility with WWW::Mechanize

by syphilis (Canon)
on Jul 09, 2013 at 01:22 UTC ( #1043213=note: print w/ replies, xml ) Need Help??


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
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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2015-07-04 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls