Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Using LWP::UserAgent to Get Web Pages

by varian (Chaplain)
on Jun 15, 2007 at 07:48 UTC ( [id://621412]=note: print w/replies, xml ) Need Help??


in reply to Using LWP::UserAgent to Get Web Pages

To learn more about the cause of the error the following will get you more verbose output from LWP:
use LWP::Debug qw(+);

My hinch is that this is either related to your DNS settings or to security settings on your system.

Try to 'ping' google to check your DNS settings.
If that works fine then check that the ping cmd also works in the context of a cgi environment executed by your webserver (e.g. include with backticks in a cgi perl prog).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found