charlesbel / Microsoft-Rewards-Farmer

A simple bot that uses selenium to farm Microsoft Rewards written in Python
MIT License
1.02k stars 275 forks source link

[BUG] selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:59465 from session not created: This version of ChromeDriver only supports Chrome version 117 Current browser version is 116.0.5845.188 #346

Open riahc3 opened 1 year ago

riahc3 commented 1 year ago

Before submitting a bug report...

Title

Describe the bug

This bug every couple of days pops up complaining with a different version. Please build in logic to fix this bug automatically because it stops the script from running when we have it programmed to run daily and we lose Reward Points and streak because of it.

Thank you

Copy and paste your error

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:59465 from session not created: This version of ChromeDriver only supports Chrome version 117 Current browser version is 116.0.5845.188

Screenshots

None needed

Value of dashboard variable

None needed

riahc3 commented 1 year ago

Name: undetected-chromedriver Version: 3.5.3 Summary: ('Selenium.webdriver.Chrome replacement with compatiblity for Brave, and other Chromium based browsers.', 'Not triggered by CloudFlare/Imperva/hCaptcha and such.', 'NOTE: results may vary due to many factors. No guarantees are given, except for ongoing efforts in understanding detection algorithms.') Home-page: https://github.com/ultrafunkamsterdam/undetected-chromedriver Author: UltrafunkAmsterdam Author-email: info@blackhat-security.nl License: GPL-3.0 Location: c:\program files\python310\lib\site-packages Requires: requests, selenium, websockets Required-by:

Lectoid commented 1 year ago

I had this same error this morning. Opened Chrome and let it update from 116 to 117. Now the script runs. Just putting this here for anyone else who's stuck at this point.

klept0 commented 1 year ago

If your problem is resolved - please close this issue out.

hartienyu commented 1 year ago

Found solution : pip install --upgrade undetected_chromedriver

Refer to here