Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This version of ChromeDriver only supports Chrome version 110 #6

Closed
hildebrau opened this issue Mar 5, 2023 · 4 comments
Closed

This version of ChromeDriver only supports Chrome version 110 #6

hildebrau opened this issue Mar 5, 2023 · 4 comments

Comments

@hildebrau
Copy link
Contributor

I just tried pulling the latest image and running it interactively to see the stdout and it shows this:

$ docker run -it altodd/southwest-docker schedule xxxxxx xxxx xxxxxx xxx@xxx.com
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Traceback (most recent call last):
File "/headers/southwest-headers/southwest-headers.py", line 22, in
driver = uc.Chrome(headless = True)
File "/headers/southwest-headers/env/lib/python3.9/site-packages/seleniumwire/undetected_chromedriver/webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "/headers/southwest-headers/env/lib/python3.9/site-packages/undetected_chromedriver/init.py", line 429, in init
super(Chrome, self).init(
File "/headers/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
super().init(
File "/headers/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/chromium/webdriver.py", line 106, in init
super().init(
File "/headers/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 288, in init
self.start_session(capabilities, browser_profile)
File "/headers/southwest-headers/env/lib/python3.9/site-packages/undetected_chromedriver/init.py", line 715, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
File "/headers/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 381, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/headers/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 444, in execute
self.error_handler.check_response(response)
File "/headers/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 249, 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:35490
from session not created: This version of ChromeDriver only supports Chrome version 110
Current browser version is 108.0.5359.124

Stacktrace:
#0 0x55b7dcda7d93
#1 0x55b7dcb762d7
#2 0x55b7dcba32f4
#3 0x55b7dcb9a2fc
#4 0x55b7dcbdf4f4
#5 0x55b7dcbd6353
#6 0x55b7dcba5e40
#7 0x55b7dcba7038
#8 0x55b7dcdfb8be
#9 0x55b7dcdff8f0
#10 0x55b7dcddff90
#11 0x55b7dce00b7d
#12 0x55b7dcdd1578
#13 0x55b7dce25348
#14 0x55b7dce254d6
#15 0x55b7dce3f341
#16 0x7f7bd78f5ea7 start_thread

@hildebrau
Copy link
Contributor Author

I guess this probably has something to do with byalextran/southwest-headers#6; but my brain is exhausted and I'm not sure where to go from here.. SWA check in in the morning. ;(

@altodd
Copy link
Owner

altodd commented Apr 23, 2023

Hey, sorry! I just had the same issue when I tried to schedule check in. I must have missed the e-mail for this. I just rebuilt and didn't have that error after a new build. I pushed the new image.

@altodd altodd closed this as completed Apr 23, 2023
@altodd
Copy link
Owner

altodd commented Apr 23, 2023

Actually, I closed this too hastily, after the container runs a minute the rebuild doesn't do anything. Thanks for the point to the issue on southwest-headers as that is the problem. I'll get this updated.

@altodd altodd reopened this Apr 23, 2023
@altodd
Copy link
Owner

altodd commented Apr 23, 2023

Okay, latest commit actually works. Updated to install version 109 of chrome and am pushing the updated image now. Also set up image to run with user of non root before realizing that didn't solve the issue but am keeping that as it doesn't hurt to have a non-root user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants