Closed leandrosardi closed 1 month ago
unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
(Session info: headless chrome=116.0.5845.97)
#0 0x55bb69abfe23
#1 0x55bb697e85f6
#2 0x55bb697d0e4f
#3 0x55bb697d072d
#4 0x55bb697cf65c
#5 0x55bb697cf5ce
#6 0x55bb697ce28a
#7 0x55bb697ce84f
#8 0x55bb697deb47
#9 0x55bb697dfca2
#10 0x55bb697f280f
#11 0x55bb697f710b
#12 0x55bb697ceef1
#13 0x55bb697f2449
#14 0x55bb6986027e
#15 0x55bb69847de3
#16 0x55bb6981ba7b
#17 0x55bb6981c81e
#18 0x55bb69a81638
#19 0x55bb69a85507
#20 0x55bb69a8fc4c
#21 0x55bb69a86136
#22 0x55bb69a549cf
#23 0x55bb69aa9b98
#24 0x55bb69aa9d68
#25 0x55bb69ab8cb3
#26 0x7f200b9b9609 start_thread
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/response.rb:55:in `assert_ok'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/http/common.rb:83:in `new'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/http/common.rb:83:in `create_response'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/http/default.rb:104:in `request'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/bridge.rb:620:in `execute'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/remote/bridge.rb:555:in `find_elements_by'
/usr/local/rvm/gems/ruby-3.1.2/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/common/search_context.rb:78:in `find_elements'
/home/blackstack/code1/sdk/lib/profile_rpa/linkedin.rb:269:in `connectioncheck'
/home/blackstack/code1/sdk/p/profile.rb:625:in `block in
'
/home/blackstack/code1/sdk/p/profile.rb:618:in `each'
/home/blackstack/code1/sdk/p/profile.rb:618:in `
'
I have a Ruby script using Selenium/Webdriver. Such a Ruby script is running on Ubuntu 20.04 server (with no UI)
The script started filing again and again with the following error:
"session deleted because of page crash from unknown error: cannot determine loading status from tab crashed"
The exception were well handled, with retry managing and browser restarting.
But the only way the error stopped to happen was restarting the server.
How to prevent this to happen again?
Closing. And creating #283 for researching memory leaks or internal adspower issues.
CLI
Error
Screenshot