agenticSeek
agenticSeek copied to clipboard
Windows: backend is trying to use the wrong chrome version
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
Loading personal and system profiles took 2635ms.
PS C:\Users\user> (Get-Item "C:\Program Files\Google\Chrome\Application\chrome.exe").VersionInfo.ProductVersion
137.0.7151.120
PS C:\Users\user>
PS C:\Users\user> (Get-Item "C:\Program Files\Google\Chrome\Application\chrome.exe").VersionInfo.ProductVersion
137.0.7151.120
PS C:\Users\user>
PS C:\Users\user> cd .\agenticSeek\
PS C:\Users\user\agenticSeek> (Get-Item "C:\Program Files\Google\Chrome\Application\chrome.exe").VersionInfo.ProductVersion
137.0.7151.120
PS C:\Users\user\agenticSeek> .\start_services.cmd full
Starting full deployment...
Secret key generated successfully
time="2025-06-23T17:14:21+08:00" level=warning msg="The \"HUGGINGFACE_API_KEY\" variable is not set. Defaulting to a blank string."
time="2025-06-23T17:14:21+08:00" level=warning msg="The \"DSK_DEEPSEEK_API_KEY\" variable is not set. Defaulting to a blank string."
time="2025-06-23T17:14:21+08:00" level=warning msg="C:\\Users\\user\\agenticSeek\\docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] Running 1/1
✔ Container backend Started 2.1s
time="2025-06-23T17:14:28+08:00" level=warning msg="The \"HUGGINGFACE_API_KEY\" variable is not set. Defaulting to a blank string."
time="2025-06-23T17:14:28+08:00" level=warning msg="The \"DSK_DEEPSEEK_API_KEY\" variable is not set. Defaulting to a blank string."
time="2025-06-23T17:14:28+08:00" level=warning msg="C:\\Users\\user\\agenticSeek\\docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] Running 4/4
✔ Container redis Created 0.0s
✔ Container frontend Created 0.0s
✔ Container searxng Created 0.0s
✔ Container backend Running 0.0s
Attaching to backend, frontend, redis, searxng
backend | Traceback (most recent call last):
backend | File "/app/sources/browser.py", line 109, in create_undetected_chromedriver
backend | Warning: you are using an API provider. You data will be sent to the cloud.
backend | Failed to create Chrome driver: Message: session not created: cannot connect to chrome at 127.0.0.1:38317
backend | from session not created: This version of ChromeDriver only supports Chrome version 137
backend | Current browser version is 134.0.6998.88
backend | Stacktrace:
backend | #0 0x563906faa45a <unknown>
backend | #1 0x563906a4f760 <unknown>
backend | #2 0x563906a900a7 <unknown>
backend | #3 0x563906a8ef95 <unknown>
backend | #4 0x563906a84a33 <unknown>
backend | #5 0x563906ad58d6 <unknown>
backend | #6 0x563906ad4f96 <unknown>
backend | #7 0x563906ac6c23 <unknown>
backend | #8 0x563906a934a5 <unknown>
backend | #9 0x563906a94111 <unknown>
backend | #10 0x563906f6ef1b <unknown>
backend | #11 0x563906f72e19 <unknown>
backend | #12 0x563906f55ac9 <unknown>
backend | #13 0x563906f739c8 <unknown>
backend | #14 0x563906f3a34f <unknown>
backend | #15 0x563906f97a28 <unknown>
backend | #16 0x563906f97c06 <unknown>
backend | #17 0x563906fa9336 <unknown>
backend | #18 0x7fdc49e911f5 <unknown>
backend | . Trying to bypass SSL...
backend | Bypassing SSL verification issues, we strongly advice you update your certifi SSL certificate.
backend | Failed to create Chrome driver, fallback failed:
backend | you cannot reuse the ChromeOptions object.
backend | driver = uc.Chrome(service=service, options=chrome_options)
backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend | File "/usr/local/lib/python3.11/site-packages/undetected_chromedriver/__init__.py", line 466, in __init__
backend | super(Chrome, self).__init__(
backend | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 47, in __init__
backend | super().__init__(
backend | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 69, in __init__
backend | super().__init__(command_executor=executor, options=options)
backend | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 257, in __init__
backend | self.start_session(capabilities)
backend | File "/usr/local/lib/python3.11/site-packages/undetected_chromedriver/__init__.py", line 724, in start_session
backend | super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
backend | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 356, in start_session
backend | response = self.execute(Command.NEW_SESSION, caps)["value"]
backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 447, in execute
backend | self.error_handler.check_response(response)
backend | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
backend | raise exception_class(message, screen, stacktrace)
backend | selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot connect to chrome at 127.0.0.1:38317
backend | from session not created: This version of ChromeDriver only supports Chrome version 137
backend | Current browser version is 134.0.6998.88
backend | Stacktrace:
backend | #0 0x563906faa45a <unknown>
backend | #1 0x563906a4f760 <unknown>
backend | #2 0x563906a900a7 <unknown>
backend | #3 0x563906a8ef95 <unknown>
backend | #4 0x563906a84a33 <unknown>
backend | #5 0x563906ad58d6 <unknown>
backend | #6 0x563906ad4f96 <unknown>
backend | #7 0x563906ac6c23 <unknown>
backend | #8 0x563906a934a5 <unknown>
backend | #9 0x563906a94111 <unknown>
backend | #10 0x563906f6ef1b <unknown>
backend | #11 0x563906f72e19 <unknown>
backend | #12 0x563906f55ac9 <unknown>
backend | #13 0x563906f739c8 <unknown>
backend | #14 0x563906f3a34f <unknown>
backend | #15 0x563906f97a28 <unknown>
backend | #16 0x563906f97c06 <unknown>
backend | #17 0x563906fa9336 <unknown>
backend | #18 0x7fdc49e911f5 <unknown>
backend |
backend |
backend | During handling of the above exception, another exception occurred:
backend |
backend | Traceback (most recent call last):
backend | File "/app/api.py", line 143, in <module>
backend | interaction = initialize_system()
backend | ^^^^^^^^^^^^^^^^^^^
backend | File "/app/api.py", line 99, in initialize_system
backend | create_driver(headless=headless, stealth_mode=stealth_mode, lang=languages[0]),
backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend | File "/app/sources/browser.py", line 178, in create_driver
backend | driver = create_undetected_chromedriver(service, chrome_options)
backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend | File "/app/sources/browser.py", line 117, in create_undetected_chromedriver
backend | raise e
backend | File "/app/sources/browser.py", line 114, in create_undetected_chromedriver
backend | driver = uc.Chrome(service=service, options=chrome_options)
backend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend | File "/usr/local/lib/python3.11/site-packages/undetected_chromedriver/__init__.py", line 269, in __init__
backend | raise RuntimeError("you cannot reuse the ChromeOptions object")
backend | RuntimeError: you cannot reuse the ChromeOptions object
backend exited with code 1
The version of Chrome that is default is 137.0.7151.120
PS C:\Users\user> (Get-Item "C:\Program Files\Google\Chrome\Application\chrome.exe").VersionInfo.ProductVersion
137.0.7151.120
But the backend somehow finds a wrong version:
backend | Current browser version is 134.0.6998.88
Hey, I had the same issue. Try this out. https://github.com/Fosowl/agenticSeek/issues/353#issuecomment-2995174747
AgenticSeek run in docker so the chrome version that is actually used it the one we download when building the docker image. The issue you encounter can happen if the auto-installer download the wrong chromedriver version. We updated the "ChromeDriver Issues" in the readme to address the problem. See https://github.com/Fosowl/agenticSeek?tab=readme-ov-file#chromedriver-issues