in reply to Re^2: HTTPS WWW::Mechanize Form Problems
in thread HTTPS WWW::Mechanize Form Problems

If you're getting a 401 error for a https URL, you can request https URLs. If you're getting a 500 error, for a https URL, you likely don't have Crypt::SSLeay or IO::SSLeay installed.

If you're not on Windows, I recommend installing the prerequisite libraries (libeay or whatever it is called) via the package manager of your OS. Then install the Perl module.

  • Comment on Re^3: HTTPS WWW::Mechanize Form Problems

Replies are listed 'Best First'.
Re^4: HTTPS WWW::Mechanize Form Problems
by LE500 (Initiate) on Jan 22, 2009 at 20:34 UTC

    I've installed Crypt::SSLeay and IO::Socket::SSL through a package manager (and installed Net::SSLeay and OpenSSL as well), added Crypt and Socket to my script and I'm still being rejected when I try to go through a link (and it still works when I just get($url), until I try to go through by link, then that stops working too). This is so very frustrating.

      Get a network sniffer like Wireshark and observe the difference between what your script sends/receives and what your browser sends/receives.