in reply to Re: Mechanize not working with HTTPS
in thread Mechanize not working with HTTPS

Yeah I've added those packages and tried other flavors of having them grab the https url, but I keep getting the same issue when using mechanize. Is there something specific that may need to be done using the IO::Socket::HTTPS with mechanize to get them to play nicely with each other?

Replies are listed 'Best First'.
Re^3: Mechanize not working with HTTPS
by Anonymous Monk on Jun 20, 2012 at 02:29 UTC

    Yeah I've added those packages and tried other flavors of having them grab the https url, but I keep getting the same issue when using mechanize.

    "bad hostname" is a DNS issue, nothing really you can do from perl

    Try  lwp-request -UuSsEed https://google.com/ if that doesn't work, nothing can work

      Understood, but the original URL was not using https, it was only recently changed. Previously, it worked fine, so I don't think its a dns issue. Also if I just use the IP address instead of the hostname it just says "can't connect" instead of the full bad hostname. I think its more to do with mechanize not working correctly with https, and I was wondering if there were some tips and tricks people have used to get to work

        ...I think its more to do with mechanize not working correctly with https ...

        :) :) you're not qualified to blame your tools, sorry (:(: