in reply to www::mechanize $mech->get(); not working for a particular URL!

Error in Connecting to URL

This means your network connection never reaches the remote site.

Maybe your network has a proxy connection to the outside.

I suggest you consult with your network administrator on how to best connect to outside websites.

  • Comment on Re: www::mechanize $mech->get(); not working for a particular URL!
  • Download Code

Replies are listed 'Best First'.
Re^2: www::mechanize $mech->get(); not working for a particular URL!
by Anonymous Monk on Aug 27, 2014 at 11:35 UTC
    Thanks Corion. but I can access the site using other browsers (Chrome & Firefox).

      So, have you consulted with your network administrator what proxy servers are configured in your browsers so you can connect to the internet?

      If all else fails, consider using a tool such as Wireshark to find out how your browsers connect to the website and then replicate that method with WWW::Mechanize.

        Thanks Corion, I will check this & will update you.