[Backgroundrb-devel] Can someone help with this error?

Raghu Srinivasan raghu.srinivasan at gmail.com
Fri May 16 21:18:59 EDT 2008


Hello all,

I get this intermittent error saying OpenURI::HTTPError. At the bottom of
the email is what is reported in my backgroundrb_server_<port>.log file. The
process_netflix_reviews method is parsing (in the background)  Netflix's RSS
feeds. This error also pretty much brings down the BDRb process and to
recover, I am forced to do a

./script/backgroundrb stop
./script/backgroundrb start

Once I've done this, it chugs along fine - even for the same URI it crashed
on last. Until at some point in the future it barfs on another URI and I
need to restart BDRb... This has been happening on and off for several days
now.

Any pointers on what I am doing wrong?

Much appreciated - thanks!

Raghu

======================================================
/usr/lib/ruby/1.8/open-uri.rb:287:in `open_http': 500 Internal Server Error
(OpenURI::HTTPError)
        from /usr/lib/ruby/1.8/open-uri.rb:626:in `buffer_open'
        from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
        from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
        from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
        from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
        from /usr/lib/ruby/1.8/open-uri.rb:528:in `open'
        from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'
        from /home/raghus/public_html/feedflix.com/ff/lib/netflix.rb:467:in`process_netflix_reviews'
         ... 21 levels...
        from
/usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:20:in
`run'
        from /home/raghus/public_html/
feedflix.com/ff/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in`initialize'
        from ./script/backgroundrb:42:in `new'
        from ./script/backgroundrb:42
~
======================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080516/1827f18b/attachment.html>


More information about the Backgroundrb-devel mailing list