Unable to discover open pages error (Chrome Version Issue?) #1227
Unanswered
anujmittal94
asked this question in
Q&A
Replies: 1 comment
-
You can update your chrome and chromedriver to the latest versions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running a django app using docker which uses this library. As I am not an expert I cannot comment with much detail, but the traceback of the error is below. As the same app works on a previous installation a different device I suspect the issue is related to chrome version, as the previous installation is using chromium and driver 108...., wheras this one is using 112. I cannot easily downgrade unfortunately as it is using alpline linux which apparently only keeps the latest stable version. Is the cause this or something else, and can anyone offer a solution?
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.8/site-packages/celery/local.py", line 188, in call
return self._get_current_object()(*a, **kw)
File "/usr/local/lib/python3.8/site-packages/celery/app/task.py", line 389, in call
return self.run(*args, **kwargs)
File "/app/RealTime/kite_login.py", line 38, in login_flow
driver = uc.Chrome(driver_executable_path="/usr/bin/chromedriver",options=chrome_options, use_subprocess=True)
File "/usr/local/lib/python3.8/site-packages/undetected_chromedriver/init.py", line 401, in init
super(Chrome, self).init(
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in init
super().init(DesiredCapabilities.CHROME['browserName'], "goog",
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/chromium/webdriver.py", line 92, in init
super().init(
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 272, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.8/site-packages/undetected_chromedriver/init.py", line 589, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 364, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:59741
from unknown error: unable to discover open pages
Beta Was this translation helpful? Give feedback.
All reactions