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

Undetected chromedriver is not picking the right chrome version #1068

Open
lazarostso opened this issue Feb 10, 2023 · 4 comments
Open

Undetected chromedriver is not picking the right chrome version #1068

lazarostso opened this issue Feb 10, 2023 · 4 comments

Comments

@lazarostso
Copy link

Hello! I am facing a very strange problem with UC new version.
My chromedriver version is 110.0.5481.77
My chrome version is 110.0.5481.77
I have the latest UC version (3.4.5) and i am getting the following error:

Message: unknown error: cannot connect to chrome at 127.0.0.1:59251
from session not created: This version of ChromeDriver only supports Chrome version 110
Current browser version is 90.0.4430.212
Stacktrace:
#0 0x55c18673dd93
#1 0x55c18650c2d7
#2 0x55c1865392f4
#3 0x55c1865302fc
#4 0x55c1865754f4
#5 0x55c18656c353
#6 0x55c18653be40
#7 0x55c18653d038
#8 0x55c1867918be
#9 0x55c1867958f0
#10 0x55c186775f90
#11 0x55c186796b7d
#12 0x55c186767578
#13 0x55c1867bb348
#14 0x55c1867bb4d6
#15 0x55c1867d5341
#16 0x7efc58f85ea5 start_thread

I tried to use headless mode (--headless) and also tried to use --headless=new.
I have tried the same thing by adding --no-sandbox and then remove it again.
I also tried to run the script without headless mode by using PyVirtualDisplay.

Every try and combination of all these gave me the same error message.

Note: Before every try i clean all the session files and cookies.

Any idea?

@7574
Copy link

7574 commented Feb 10, 2023

Had the exact same problem. The fix for me was just updating google chrome at chrome://settings/help

@lazarostso
Copy link
Author

Unfortunately, i have everything up to date.

@SDU1910
Copy link

SDU1910 commented Feb 10, 2023

Hi, i'm getting the same problem than the one described by @lazarostso. On linux too.

My chromedriver version is 110.0.5481.77
My chrome version is 110.0.5481.77
I have the latest UC version (3.4.5) and i am getting the following error:

Message: unknown error: cannot connect to chrome at 127.0.0.1:40639
from session not created: This version of ChromeDriver only supports Chrome version 110
Current browser version is 109.0.5414.119
Stacktrace:
#0 0x55e3b3dc5d93
#1 0x55e3b3b942d7
#2 0x55e3b3bc12f4
#3 0x55e3b3bb82fc
#4 0x55e3b3bfd4f4
#5 0x55e3b3bf4353
#6 0x55e3b3bc3e40
#7 0x55e3b3bc5038
#8 0x55e3b3e198be
#9 0x55e3b3e1d8f0
#10 0x55e3b3dfdf90
#11 0x55e3b3e1eb7d
#12 0x55e3b3def578
#13 0x55e3b3e43348
#14 0x55e3b3e434d6
#15 0x55e3b3e5d341
#16 0x7f213f399609 start_thread

@ultrafunkamsterdam
Copy link
Owner

how often do i need say this again.
if you are not up to date with chrome, specify your version!

driver = uc.Chrome(version_main=109) 

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

4 participants