[Kc] Perl LWP (libwww-perl) problems using a proxy that requires Authentication

Daryl Fallin darylvf at gmail.com
Wed Mar 25 12:28:57 PDT 2009


Yeah...  I was thinking on those same lines...

I replaced this line :

my $req = HTTP::Request->new(GET => "https://$username:$password\@
qualysguard.qualys.com/msp/scan_report_list.php");

with this line :

my $req = HTTP::Request->new(GET => "https://mail.google.com <../>");

Still fails

On Wed, Mar 25, 2009 at 2:17 PM, Andrew Moore <amoore at mooresystems.com>wrote:

> Perhaps one way to troubleshoot this would be to split the problem up.
> First, try to hit a site that doesn't require authentication, thus
> testing your ability to authenticate only to the proxy server. Then,
> add the additional complexity of authenticating to qualys.com.
>
> -Andy
>
>
> On Wed, Mar 25, 2009 at 12:46 PM, Daryl Fallin <darylvf at gmail.com> wrote:
> > Oops.  yeah that is a problem, but it still fails.
> >
> > Failed: 500 Can't connect to qualys_user::443 (Bad hostname
> 'qualys_user:')
> >
> > or uncomment $ua->proxy and I still get:
> >
> > Failed: 400 Bad Request
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/kc/attachments/20090325/bff90c54/attachment.html>


More information about the kc mailing list