re: Request Post error useragent.pm line 227

John Gerrish (John_Gerrish@dot.state.ak.us)
Tue, 30 Jan 2001 11:14:02 -0900


Vern,
What OS / Platform are you running on where you get the error 'sporadically'?
I have never seen it from my test linux server but it happens about 1 in 6 on
the sun-solaris.
both have (identical) v1.73 of UserAgent.pm.

& did you note in my message that my processor receives the request and
processes it.  
No need to do request over but I wasn't getting a chance to record
transaction/respond to customer.
-Johnnie

Vern wrote:
Full error:

    Can't call method "request" on an undefined value at
    /usr/lib/perl5/site_perl/5.005/LWP/UserAgent.pm line 227, <DOM>
    chunk 69.

I've got a script that does a couple thousand requests to an https
URL.  I get the above error sporadicly.  I've had it at chunk 69,
640, 234, etc.  It's seemingly random and nothing changes between
runs except the location of the error.

-- 
John Gerrish     RMS3 Application Manager     907-465-8861    fax:2024
                 Alaska Marine Highway System, DOT/PF, State of Alaska
                 3132 Channel Dr, Juneau, AK  99801
Blessed are the flexible for they shall not be bent out of shape.