Subject: | Unable to login on a site using WWW::Mechanize |
Date: | Sat, 20 May 2006 12:34:37 +0200 |
To: | bug-WWW-Mechanize [...] rt.cpan.org |
From: | Eric Middelkoop <coopje [...] chello.nl> |
Hello,
I have been using WWW::Mechanize for a while and I like it very much.
However, lately I am trying to automate some actions on my own website
http://217.170.21.121:2222 which responds a 401 to supply login
credentials. I have read all available information about this on cpan
and used LWP::Debug to see what is happening. I used
WWW::Mechanize->credentials() and add_header() to post the login
credentials as described in various ways but I can't get WWW::Mechanize
to login to my page.
I have use HTTP::Proxy with HTTP::Recorder together with my webbrowser
to see what is happening and when I enter the login-credentials in the
browser, HTTP::Proxy responds with 'Can't locate object method
"query_param" via package "rec-action=submitfrom......etc. I followed
all the information on the internet about this error as well. But can't
find any solution for the problem.
The problem has something to do with logging in (maybe port 2222 is the
problem ?). I have used logging in on other websites as well, and that
formed no problem at all. I have been struggling with this problem for
some weeks now and can't find a solution.
Do you think this is a bug in WWW::Mechanize or am I doing something wrong ?
Thanks for any help.
Best regards,
Eric Middelkoop