View Single Post
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#187
Originally Posted by gohan2091 View Post
Sill getting random timeouts during downloading on wifi... don't think it is anything to do with the BBC website being overloaded due to heavy traffic... not at 1am. Does this code give a reason for the timeout?

53.0%/opt/ruby/lib/ruby/1.8/timeout.rb:60:in `rbuf_fill': execution expired (Timeout::Error)
from /opt/ruby/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
from /opt/ruby/lib/ruby/1.8/net/protocol.rb:86:in `read'
from /opt/ruby/lib/ruby/1.8/net/http.rb:2216:in `read_body_0'
from /opt/ruby/lib/ruby/1.8/net/http.rb:2177:in `read_body'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/downloader.rb:79:in `download'
from /opt/ruby/lib/ruby/1.8/net/http.rb:1053:in `request'
from /opt/ruby/lib/ruby/1.8/net/http.rb:2140:in `reading_body'
from /opt/ruby/lib/ruby/1.8/net/http.rb:1052:in `request'
from /opt/ruby/lib/ruby/1.8/net/http.rb:1037:in `request'
from /opt/ruby/lib/ruby/1.8/net/http.rb:543:in `start'
from /opt/ruby/lib/ruby/1.8/net/http.rb:1035:in `request'
from /opt/ruby/lib/ruby/1.8/net/http.rb:948:in `request_get'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/browser.rb:71:in `request'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/browser.rb:51:in `get'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/downloader.rb:43:in `get'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/downloader.rb:78:in `download'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/downloader.rb:76:in `step'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/downloader.rb:76:in `download'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/downloader.rb:71:in `open'
from /opt/ruby/lib/ruby/site_ruby/1.8/iplayer/downloader.rb:71:in `download'
from /usr/bin/iplayer-dl:132
from /usr/bin/iplayer-dl:13:in `each_with_index'
from /usr/bin/iplayer-dl:97:in `each'
from /usr/bin/iplayer-dl:97:in `each_with_index'
from /usr/bin/iplayer-dl:97
I don't know. The connection is timing out, either at your end or the beeb's. Have you got a slow connection? Are you attempting to use the connection for other things at the same time as using iplayer-dl?

I'll try and get something now as a test.

Cheers,
Jan
 

The Following User Says Thank You to Big Phat Jan For This Useful Post: