Does anyone else get these? A Errno::ECONNRESET occurred in facebook#index: Connection reset by peer /usr/lib64/ruby/1.8/net/protocol.rb:133:in `sysread'' Today it was on a user.populate call... I am wondering if it makes sense to catch and retry for this exception. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080730/a448f2a1/attachment.html>
Yes. Retrying a single time from Facebooker::Service#post eliminates most of them. Michael On Jul 30, 2008, at 11:51 AM, David Clements wrote:> Does anyone else get these? > > A Errno::ECONNRESET occurred in > facebook#index: > Connection reset by peer /usr/lib64/ruby/1.8/net/ > protocol.rb:133:in `sysread'' > > > Today it was on a user.populate call... I am wondering if it makes > sense to catch and retry for this exception. > > Dave > > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk
Sweet thanks guys. Are you catching that specific exception? Think we should put it in the library? Dave On Wed, Jul 30, 2008 at 10:05 AM, Michael Niessner < mniessner at elevatedrails.com> wrote:> Yes. Retrying a single time from Facebooker::Service#post eliminates most > of them. > > Michael > > > On Jul 30, 2008, at 11:51 AM, David Clements wrote: > > Does anyone else get these? >> >> A Errno::ECONNRESET occurred in >> facebook#index: >> Connection reset by peer /usr/lib64/ruby/1.8/net/ >> protocol.rb:133:in `sysread'' >> >> >> Today it was on a user.populate call... I am wondering if it makes sense >> to catch and retry for this exception. >> >> Dave >> >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080730/3d8f17f8/attachment.html>
Yeah, I was specifically catching Errno::ECONNRESET. It would probably be nice to have in the library. Michael On Jul 30, 2008, at 12:17 PM, David Clements wrote:> Sweet thanks guys. > > Are you catching that specific exception? Think we should put it in > the library? > > Dave > > On Wed, Jul 30, 2008 at 10:05 AM, Michael Niessner <mniessner at elevatedrails.com > > wrote: > Yes. Retrying a single time from Facebooker::Service#post eliminates > most of them. > > Michael > > > On Jul 30, 2008, at 11:51 AM, David Clements wrote: > > Does anyone else get these? > > A Errno::ECONNRESET occurred in > facebook#index: > Connection reset by peer /usr/lib64/ruby/1.8/net/ > protocol.rb:133:in `sysread'' > > > Today it was on a user.populate call... I am wondering if it makes > sense to catch and retry for this exception. > > Dave > > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080730/43dbfc2e/attachment.html>