Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Cannot connect to https site

by syphilis (Chancellor)
on Feb 07, 2013 at 03:39 UTC ( #1017550=note: print w/replies, xml ) Need Help??

in reply to SOLVED:Cannot connect to https site

When I try to browse to
I get a login box.
Does your problem go away if you pass a valid username and password via your script?


Replies are listed 'Best First'.
Re^2: Cannot connect to https site
by wongo (Initiate) on Feb 07, 2013 at 10:54 UTC

    I don't get the login box. The full script passes username and password, or would if it could download that first page.

      Yeah, it's hard to perform any meaningful test from here without a valid username and password.
      Even if I change the url (in the script you provided) to:
      I still can't even browse to that. All I get is a redirect to:
      and an error message that says:
      This request is not valid. Please close this window and log back in. If you feel that you have reached this page in error, please contact y +our administrator.
      Sort of suggests to me that you have to be logged in *before* you can even get to that page ... seems odd, but I don't know much about the way these things work. (Magic, I expect ;-)

      Maybe you need to shift your investigation to trying to understand how on earth it is that the old connection worked.

        On the old system, I could download the page, then populate the form and post. On the new system, I can't download the page. The fact that the page loads on your system, and shows the login form, implies your setup is working better than mine. Are you able to share what packages are loaded to support https with Mechanize?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017550]
[Corion]: ambrus: I did that in 2012 and 2013, to try it out, and I found the available time to be worth more to me than the money
[Corion]: I've started that again this month (now forever instead of a limited time), and it already destresses me a lot
[holli]: There are Anti Vaxxer weeks at IKEA.
[Corion]: Of course, it's a 20% cut in the money I receive, while the work doesn't necessarily reduce at all, but my approach is to make the work take longer instead of fitting 5 days worth of work into 4
[holli]: 50% off all children coffins.
[Corion]: holli: Ooof :)
[hippo]: Cut should beless than 20% after tax, though. :-)
[Corion]: hippo: Yeah, but at least two years ago, it still was close enough to 20% cut
[Corion]: But I have a very positive experience with a four day workweek and a three day weekend. I can't easily go back though to full money.
[Corion]: That is easy without having to pay for a house, a wife or children though. If I had any of these, or any two of these, the decision wouldn't be that easy.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-09-21 15:11 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (249 votes). Check out past polls.