K
Keith Carter
When opening a particularly slow loading URL I am getting the following
error:
Loading production environment (Rails 2.0.2)
?> puts " Opened successfully with charset: " + f.charset/usr/lib64/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired
(Timeout::Error)
from /usr/lib64/ruby/1.8/timeout.rb:56:in `timeout'
from /usr/lib64/ruby/1.8/timeout.rb:76:in `timeout'
from /usr/lib64/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
from /usr/lib64/ruby/1.8/net/protocol.rb:116:in `readuntil'
from /usr/lib64/ruby/1.8/net/protocol.rb:126:in `readline'
from /usr/lib64/ruby/1.8/net/http.rb:2029:in `read_status_line'
from /usr/lib64/ruby/1.8/net/http.rb:2018:in `read_new'
from /usr/lib64/ruby/1.8/net/http.rb:1059:in `request'
... 9 levels...
from /usr/lib64/ruby/1.8/open-uri.rb:30:in `open'
from (irb):33:in `irb_binding'
from /usr/lib64/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
from /usr/lib64/ruby/1.8/irb/workspace.rb:52
Does anyone know how to fix this? I want it to wait longer for the web
server to respond.
error:
Loading production environment (Rails 2.0.2)
?> open('http://www.wwtdd.com/?start=2331') { |f|require 'open-uri' => ["OpenURI"]
?> puts " Opened successfully with charset: " + f.charset/usr/lib64/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired
(Timeout::Error)
from /usr/lib64/ruby/1.8/timeout.rb:56:in `timeout'
from /usr/lib64/ruby/1.8/timeout.rb:76:in `timeout'
from /usr/lib64/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
from /usr/lib64/ruby/1.8/net/protocol.rb:116:in `readuntil'
from /usr/lib64/ruby/1.8/net/protocol.rb:126:in `readline'
from /usr/lib64/ruby/1.8/net/http.rb:2029:in `read_status_line'
from /usr/lib64/ruby/1.8/net/http.rb:2018:in `read_new'
from /usr/lib64/ruby/1.8/net/http.rb:1059:in `request'
... 9 levels...
from /usr/lib64/ruby/1.8/open-uri.rb:30:in `open'
from (irb):33:in `irb_binding'
from /usr/lib64/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
from /usr/lib64/ruby/1.8/irb/workspace.rb:52
Does anyone know how to fix this? I want it to wait longer for the web
server to respond.