in reply to Re: LWP error 500 read timeout "internal response"
in thread LWP error 500 read timeout "internal response"

When I run wget http://www.perlmonks.com from the command line, it works. When I try to get the same URL from the script, I get the stated error. When I try http://google.com with the script it works! There is no proxy.

Replies are listed 'Best First'.
Re^3: LWP error 500 read timeout "internal response"
by Herkum (Parson) on May 17, 2007 at 11:04 UTC

    Have you tried changing the URL to http://localhost (This is assuming you have a web server running on the localhost) ? This would tell you if it is a problem with the code versus a problem with the network.

    If this is still a problem my assumption would that the module installation is Foo-Bared rather than the code. There might an incompatibility with local libraries or the the version of Perl running on that box(which has happened to me before).