in reply to LWP error 500 read timeout "internal response"

When I run it (on Linux), I get a successful response. Can you access the web using a tool like wget or curl? Is there a proxy involved (or should there be one)?

Replies are listed 'Best First'.
Re^2: LWP error 500 read timeout "internal response"
by cormanaz (Deacon) on May 17, 2007 at 02:05 UTC
    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.

      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).