ferrum: process_timeout > 240 seconds
Well here’s one for ya. I’m trying to open a headless browser to get onto Youtube. But a timeout error keeps me from doing this:
/usr/local/lib/ruby/gems/3.0.0/gems/ferrum-0.11/lib/ferrum/browser/process.rb:149:in `parse_ws_url': Browser did not produce websocket url within 240 seconds, try to increase `:process_timeout`. See https://github.com/rubycdp/ferrum#customization (Ferrum::ProcessTimeoutError)
from /usr/local/lib/ruby/gems/3.0.0/gems/ferrum-0.11/lib/ferrum/browser/process.rb:95:in `start'
from <internal:kernel>:90:in `tap'
from /usr/local/lib/ruby/gems/3.0.0/gems/ferrum-0.11/lib/ferrum/browser/process.rb:30:in `start'
from /usr/local/lib/ruby/gems/3.0.0/gems/ferrum-0.11/lib/ferrum/browser.rb:125:in `start'
from /usr/local/lib/ruby/gems/3.0.0/gems/ferrum-0.11/lib/ferrum/browser.rb:63:in `initialize'
from get_timelapse.rb:78:in `new'
from get_timelapse.rb:78:in `<main>'
The url works. No clue why it’s not working. Gems updated, ruby 3.0.2 installed. It IS a Raspberry Pi Zero 2, but it’s fast enough. htop shows the chromedriver sitting at 1.4% memory and 0.0 cpu. Doesn’t seem to be clear what it should be doing. Also set to –headless as well as –disable-gpu, if that last one means anything.
Any insight appreciated. Cheers
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (9 by maintainers)
Seems to be working with a reduced video size. Still testing.