Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

possible bug with LWP::UserAgent::DNS::Hosts

by myuserid7 (Scribe)
on Oct 25, 2012 at 04:31 UTC ( #1000758=perlquestion: print w/replies, xml ) Need Help??
myuserid7 has asked for the wisdom of the Perl Monks concerning the following question:

With line 22-25 enabled I am getting http error 500: "certificate verify failed". When I comment these lines from the script I get a working, expected result.

My script is here: http://pastebin.com/FZXtMnWv

Usage: ./content_check.pl --hostname=www.verisign.com --IPAddress=69.58.181.89 --uri=products-services/ --searchstring='Products and Services'

Here is version info:

perl-GD-SVG-0.33-1.el5

perl-Sub-Install-0.925-1.el5

perl-MRO-Compat-0.09-1.el5

perl-Error-0.17010-1.el5

perl-Params-Util-1.00-3.el5

perl-CPAN-DistnameInfo-0.06-2.el5

perl-Net-SSLeay-1.30-4.fc6

perl-String-CRC32-1.4-2.fc6

perl-SVG-2.49-1.el5

perl-Convert-ASN1-0.20-1.1

perl-IPC-Run-0.80-3.el5

perl-HTML-Tagset-3.10-2.1.1

perl-version-0.7203-1.el5

perl-Sub-Identify-0.03-1.el5

perl-Algorithm-C3-0.06-1.el5

perl-Moose-0.51-1.el5

perl-DBD-MySQL-3.0007-2.el5

perl-URI-1.35-3

perl-Git-1.7.4.1-1.el5

perl-HTML-Parser-3.55-1.fc6

perl-Class-C3-XS-0.08-1.el5

perl-Package-Generator-0.100-2.el5

perl-Class-C3-0.19-2.el5

perl-Parse-CPAN-Packages-2.33-8.el5

perl-5.8.8-32.el5_6.3

perl-libwww-perl-5.805-1.1.1

perl-Sub-Exporter-0.982-11.el5

perl-Crypt-SSLeay-0.51-11.el5

perl-DBI-1.52-2.el5

perl-GD-2.35-2.el5

perl-Compress-Zlib-1.42-1.fc6

perl-Data-OptList-0.101-2.el5

perl-Class-MOP-0.62-1.el5

  • Comment on possible bug with LWP::UserAgent::DNS::Hosts

Replies are listed 'Best First'.
Re: possible bug with LWP::UserAgent::DNS::Hosts
by Anonymous Monk on Oct 25, 2012 at 08:03 UTC

    Dump the entire response, not just the status line, and you'll get more diagnostically relevant info

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1000758]
Approved by rovf
help
Chatterbox?
[marioroy]: The MCE::Hobo::Pool module will come later.
[Corion]: marioroy: Oh, that's always cool, having API-compatible modules. This makes testing and comparing things much easier
[marioroy]: IPC in MCE::Shared can handle 400k (sends) per second. That's seems a lot for being a pure-Perl module. After making the release, will come back and post a solution for a node by a fellow wanting faster logging.
[Corion]: While working on WWW::Mechanize:: Chrome, I had the suspicion that AnyEvent was doing something wrong, but I was able to swap it out for Mojolicious and the error persisted.
[Corion]: Of course, the error was in my own code ;)
[marioroy]: Corion, start and start_child in MCE::Hobo::Manager return a MCE::Hobo object, whereas P::FM returns the PID. I can have it return the PID though. I tried Hobo::Manager with several P::FM modules, just changed P::FM to MCE::Hobo::Manager and it works.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-05-26 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?