Repository: charlesbel/Microsoft-Rewards-Farmer

Issue #303: Chromedriver Issues
Created: 2023-08-21T22:44:44Z
Before submitting a bug report...

 This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

 The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
Nothing is working.
Copy and paste your error
2023-08-21 17:46:57,900 [INFO] xxx@hotmail.com
2023-08-21 17:46:58,798 [INFO] Using default request storage
2023-08-21 17:46:58,813 [INFO] Created proxy listening on 127.0.0.1:57261
2023-08-21 17:46:58,813 [INFO] Using undetected_chromedriver
2023-08-21 17:46:59,735 [INFO] patching driver executable C:\Users\xxx\appdata\roaming\undetected_chromedriver\undetected_chromedriver.exe
2023-08-21 17:48:01,470 [ERROR] WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:57264
from chrome not reachable
Stacktrace:
Backtrace:
GetHandleVerifier [0x00F5A813+48355]
(No symbol) [0x00EEC4B1]
(No symbol) [0x00DF5220]
(No symbol) [0x00DEB355]
(No symbol) [0x00E15C68]
(No symbol) [0x00E106B4]
(No symbol) [0x00E10491]
(No symbol) [0x00E40C55]
(No symbol) [0x00E4093C]
(No symbol) [0x00E3A536]
(No symbol) [0x00E182DC]
(No symbol) [0x00E193DD]
GetHandleVerifier [0x011BAABD+2539405]
GetHandleVerifier [0x011FA78F+2800735]
GetHandleVerifier [0x011F456C+2775612]
GetHandleVerifier [0x00FE51E0+616112]
(No symbol) [0x00EF5F8C]
(No symbol) [0x00EF2328]
(No symbol) [0x00EF240B]
(No symbol) [0x00EE4FF7]
BaseThreadInitThunk [0x765D7D49+25]
RtlInitializeExceptionChain [0x774CB74B+107]
RtlClearBits [0x774CB6CF+191]
Traceback (most recent call last):
File "C:\Users\xxx\Desktop\New Microsoft-Rewards-Farmer-master\main.py", line 24, in main
executeBot(currentAccount, notifier, args)
File "C:\Users\xxx\Desktop\New Microsoft-Rewards-Farmer-master\main.py", line 127, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
File "C:\Users\xxx\Desktop\New Microsoft-Rewards-Farmer-master\src\browser.py", line 41, in init
self.webdriver = self.browserSetup()
File "C:\Users\xxx\Desktop\New Microsoft-Rewards-Farmer-master\src\browser.py", line 77, in browserSetup
driver = webdriver.Chrome(
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\undetected_chromedriver_init_.py", line 466, in init
super(Chrome, self).init(
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init
super().init(
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 56, in init
super().init(
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 206, in init
self.start_session(capabilities)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\undetected_chromedriver_init_.py", line 724, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 290, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 345, in execute
self.error_handler.check_response(response)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, 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:57264
from chrome not reachable
Stacktrace:
Backtrace:
GetHandleVerifier [0x00F5A813+48355]
(No symbol) [0x00EEC4B1]
(No symbol) [0x00DF5220]
(No symbol) [0x00DEB355]
(No symbol) [0x00E15C68]
(No symbol) [0x00E106B4]
(No symbol) [0x00E10491]
(No symbol) [0x00E40C55]
(No symbol) [0x00E4093C]
(No symbol) [0x00E3A536]
(No symbol) [0x00E182DC]
(No symbol) [0x00E193DD]
GetHandleVerifier [0x011BAABD+2539405]
GetHandleVerifier [0x011FA78F+2800735]
GetHandleVerifier [0x011F456C+2775612]
GetHandleVerifier [0x00FE51E0+616112]
(No symbol) [0x00EF5F8C]
(No symbol) [0x00EF2328]
(No symbol) [0x00EF240B]
(No symbol) [0x00EE4FF7]
BaseThreadInitThunk [0x765D7D49+25]
RtlInitializeExceptionChain [0x774CB74B+107]
RtlClearBits [0x774CB6CF+191]
Screenshots
.
Value of dashboard variable
https://gist.github.com/pearlheartgtr/80aa4fce4853231ddc4100aec69bd57c

Duplicate issue #325: autoupdate_main.py error
Created: 2023-08-30T15:25:00Z
Chrome Versión 116.0.5845.140 (Build oficial) (x86_64)
undetected-chromedriver 3.5.3
macOS

 python3 autoupdate_main.py                   
Starting...
2023-08-30 11:11:24,688 [INFO] ********************xxx@gmail.com********************
2023-08-30 11:11:25,691 [INFO] Using default request storage
2023-08-30 11:11:25,727 [INFO] Created proxy listening on ::ffff:127.0.0.1:59228
2023-08-30 11:11:25,728 [INFO] Using undetected_chromedriver
2023-08-30 11:11:28,289 [INFO] patching driver executable /Users/xxx/Library/Application Support/undetected_chromedriver/undetected_chromedriver
2023-08-30 11:12:28,944 [ERROR] WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:59243
from chrome not reachable
Stacktrace:
0   undetected_chromedriver             0x000000010ad4e638 undetected_chromedriver + 5002808
1   undetected_chromedriver             0x000000010ad45a53 undetected_chromedriver + 4966995
2   undetected_chromedriver             0x000000010a8f6896 undetected_chromedriver + 448662
3   undetected_chromedriver             0x000000010a8dfc4a undetected_chromedriver + 355402
4   undetected_chromedriver             0x000000010a92b10b undetected_chromedriver + 663819
5   undetected_chromedriver             0x000000010a922d54 undetected_chromedriver + 630100
6   undetected_chromedriver             0x000000010a96ccf4 undetected_chromedriver + 933108
7   undetected_chromedriver             0x000000010a96c03f undetected_chromedriver + 929855
8   undetected_chromedriver             0x000000010a9631c3 undetected_chromedriver + 893379
9   undetected_chromedriver             0x000000010a92edf9 undetected_chromedriver + 679417
10  undetected_chromedriver             0x000000010a92ffde undetected_chromedriver + 683998
11  undetected_chromedriver             0x000000010ad0b2d9 undetected_chromedriver + 4727513
12  undetected_chromedriver             0x000000010ad102de undetected_chromedriver + 4747998
13  undetected_chromedriver             0x000000010acce2c9 undetected_chromedriver + 4477641
14  undetected_chromedriver             0x000000010ad1102d undetected_chromedriver + 4751405
15  undetected_chromedriver             0x000000010ace40ec undetected_chromedriver + 4567276
16  undetected_chromedriver             0x000000010ad2e7f8 undetected_chromedriver + 4872184
17  undetected_chromedriver             0x000000010ad2e9b7 undetected_chromedriver + 4872631
18  undetected_chromedriver             0x000000010ad3ea1f undetected_chromedriver + 4938271
19  libsystem_pthread.dylib             0x00007ff8149a11d3 _pthread_start + 125
20  libsystem_pthread.dylib             0x00007ff81499cbd3 thread_start + 15

Work fine with main.py, I dnt know , but i remember it was headless , now i can see all the stuff.

Closing comment (2023-08-30T15:46:04Z): Possible duplicate of #303 or #278. Can you check if Sessions/*/desktop/SingletonLock is present?