From ross at roscommonhq.com Tue Mar 27 05:25:27 2012 From: ross at roscommonhq.com (Ross Cameron) Date: Tue, 27 Mar 2012 16:25:27 +1100 Subject: [Mechanize-users] Resource time out error handling Message-ID: <4F714F47.6040301@roscommonhq.com> Hi I have a long running process and eventually get the following error: /home/linker/.rvm/gems/ruby-1.8.7-p358/gems/net-http-persistent-2.5.2/lib/net/http/persistent.rb:821:in `request': too many connection resets (due to Resource temporarily unavailable - Timeout::Error) after 0 requests on 1777511481920, last used 1332824337.78363 seconds ago (Net::HTTP::Persistent::Error) I have not found a way as yet to trap Net:HTTP errors through Mechanize. Would someone please point me in the right direction for dealing /handling this situation. Thanks Ross -------------- next part -------------- An HTML attachment was scrubbed... URL: