Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Cannot connect to https site

by syphilis (Canon)
on Feb 07, 2013 at 11:23 UTC ( #1017617=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Cannot connect to https site
in thread SOLVED:Cannot connect to https site

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:

https://sourceselfservice2.ceridian.com
I still can't even browse to that. All I get is a redirect to:
https://sourceselfservice2.ceridian.com/en-us/Invalid.asp
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.

Cheers,
Rob


Comment on Re^3: Cannot connect to https site
Select or Download Code
Re^4: Cannot connect to https site
by wongo (Initiate) on Feb 09, 2013 at 03:42 UTC
    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?
      But I can only download the page and see the login form using the web browser (Internet Explorer) - which, of course, makes no use of the perl modules that are installed.

      Using perl, I get no further than you.
      Anyway, the versions of the various perl modules I'm using are:
      C:\_32\pscrpt>pmver WWW::Mechanize 1.72 C:\_32\pscrpt>pmver Crypt::SSLeay 0.58 C:\_32\pscrpt>pmver Net::SSLeay 1.48 C:\_32\pscrpt>pmver LWP::Protocol::https 6.03 C:\_32\pscrpt>pmver LWP::Protocol 6.00 C:\_32\pscrpt>
      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-09-22 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (202 votes), past polls