in reply to Re: help with LWP
in thread help with LWP

Yes, I'm able to get to the page via Safari or Firefox and I can curl the page from the command line when I'm getting the http 500 invalid message. But, you may be on to something. I moved the machine to another subnet, got a new ip address and it immediately worked again without the 500 error. Strange that I can load it via a browser and can get the url with other tools, but it's intermittent with LWP.

Replies are listed 'Best First'.
Re^3: help with LWP
by ysth (Canon) on Mar 04, 2008 at 02:32 UTC
    Strange indeed. Does changing the user agent string to be a real one like
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3) Gecko/2008021416 Fir +efox/3.0b3
    make the error go away once it's started?
      Sorry, but it doesn't. I restarted the machine and added your user agent string and it failed about 2 hrs later. I'm tempted to try this on a windows machine to see if I get the same problems.

      Anybody else have any other ideas? Is there a way I can print out the actual request going to the server to see if that is what is causing the problem?
Re^3: help with LWP
by Anonymous Monk on Mar 05, 2008 at 20:00 UTC
    (I attempted to reply to the previous post but the text doesn't show up for some reason, so I've bumped this up one response level to see if this works for displaying the text)

    Sorry, but it doesn't. I restarted the machine and added your user agent string and it failed about 2 hrs later. I'm tempted to try this on a windows machine to see if I get the same problems.

    Anybody else have any other ideas? Is there a way I can print out the actual request going to the server to see if that is what is causing the problem?