From: Carl Youngblood Date: 2003-09-24T09:56:47+09:00 Subject: Re: TimeoutError in Net::HTTP get and post Nathaniel Talbott wrote: > Carl Youngblood [mailto:carl@youngbloods.org] wrote: > > >>Was this just a stupid question or does nobody know the answer? Or >>another option I guess would be that everyone is too busy. > > > Hmmm... I just tried to get Net::HTTP#post to raise a TimeoutError by > mounting a little WEBrick proc that slept 20 seconds before responding, and > #post never timed out for me. Can you give a small, complete example that > causes the TimeoutError? > > > Nathaniel > > <:((>< > > I think the get and post timeout is set to 60 seconds by default. Your script would probably work if you increased the waiting time. My script only times out every once in a while since it is accessing a real web server that usually responds in time. Carl