Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 19371
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

Owner: Nobody in particular
Requestors: coopje [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Unable to login on a site using WWW::Mechanize
Date: Sat, 20 May 2006 12:34:37 +0200
To: bug-WWW-Mechanize [...]
From: Eric Middelkoop <coopje [...]>
Download (untitled) / with headers
text/plain 1.2k
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 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
Download (untitled) / with headers
text/plain 159b
Problem has been narrowed down to a device spitting out incomple 401 headers, and thus threw WWW::Mechanize of. Autocheck => 0 resolved the problem. -- B10m

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to