Closed GrrGrrMan closed 1 week ago
Does this happen every run?
Also happening to me every run since yesterday
I'd recommend checking out the develop branch and running to see if it fixes the issue
I'd recommend checking out the develop branch and running to see if it fixes the issue
appears to be an issue there too, made sure to run pip install --upgrade
too
Are there any leftover Chrome processes? Make a note if you do, kill em and re-run. It looks like a previous run didn't clean them up properly and they're still hanging around bound to needed ports.
There's some fixes in develop that'll better handle cleanup, but it can do anything if a previous run left em over without manual intervention.
I get this AOT, and yes i believe chrome processes stay open..
deleted the sessions folder and still errors, no chrome process running error.log
@rakosi2 Looks like a separate issue, but searches are getting done
sorry about that I guess, looked similar to me.
That being said, looks like there's some problems with promos in the log you shared
I'm getting this error as well on macos
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Before submitting a bug report...
Title
Branch
master
Commit
???
Describe the bug
After ..completing more premotions successful it will send a Devtool listen again and error:
Copy and paste your error
←[38;5;39m2024-07-10 18:23:04,716 [INFO] [MORE PROMOS] Completed More Promotions successfully !←[0m
DevTools listening on ws://127.0.0.1:53478/devtools/browser/84054cba-a95b-4b2f-9a7e-d3e5f36cb37b ←[38;5;39m2024-07-10 18:24:53,073 [INFO] Sent Discord notification.←[0m ←[38;5;196m2024-07-10 18:24:53,179 [ERROR] SessionNotCreatedException: Message: session not created: cannot connect to chrome at 127.0.0.1:53503 from chrome not reachable Stacktrace: GetHandleVerifier [0x003CC1C3+27395] (No symbol) [0x00363DC4] (No symbol) [0x002619FD] (No symbol) [0x002503AC] (No symbol) [0x00293D22] (No symbol) [0x0028AD50] (No symbol) [0x0028AB97] (No symbol) [0x002CD58E] (No symbol) [0x002CCDAA] (No symbol) [0x002C3736] (No symbol) [0x00297541] (No symbol) [0x002980BD] GetHandleVerifier [0x00683A93+2876371] GetHandleVerifier [0x006D7F5D+3221661] GetHandleVerifier [0x0044D634+556916] GetHandleVerifier [0x0045474C+585868] (No symbol) [0x0036CE04] (No symbol) [0x00369818] (No symbol) [0x003699B7] (No symbol) [0x0035BF0E] BaseThreadInitThunk [0x75F2FCC9+25] RtlGetAppContainerNamedObjectPath [0x77B980CE+286] RtlGetAppContainerNamedObjectPath [0x77B9809E+238] ←[0m Traceback (most recent call last): File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\main.py", line 43, in main earned_points = executeBot(currentAccount, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\main.py", line 245, in executeBot with Browser(mobile=True, account=currentAccount, args=args) as mobileBrowser: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\src\browser.py", line 42, in init self.webdriver = self.browserSetup() ^^^^^^^^^^^^^^^^^^^ File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\src\browser.py", line 92, in browserSetup driver = webdriver.Chrome( ^^^^^^^^^^^^^^^^^ File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init super().init(*args, **kwargs) File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver__init.py", line 466, in init super(Chrome, self).init( File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init super().init( File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in init super().init__(command_executor=executor, options=options) File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 212, in init self.start_session(capabilities) File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver__init__.py", line 724, in start_session super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session( File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 299, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 354, in execute self.error_handler.check_response(response) File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot connect to chrome at 127.0.0.1:53503 from chrome not reachable Stacktrace: GetHandleVerifier [0x003CC1C3+27395] (No symbol) [0x00363DC4] (No symbol) [0x002619FD] (No symbol) [0x002503AC] (No symbol) [0x00293D22] (No symbol) [0x0028AD50] (No symbol) [0x0028AB97] (No symbol) [0x002CD58E] (No symbol) [0x002CCDAA] (No symbol) [0x002C3736] (No symbol) [0x00297541] (No symbol) [0x002980BD] GetHandleVerifier [0x00683A93+2876371] GetHandleVerifier [0x006D7F5D+3221661] GetHandleVerifier [0x0044D634+556916] GetHandleVerifier [0x0045474C+585868] (No symbol) [0x0036CE04] (No symbol) [0x00369818] (No symbol) [0x003699B7] (No symbol) [0x0035BF0E] BaseThreadInitThunk [0x75F2FCC9+25] RtlGetAppContainerNamedObjectPath [0x77B980CE+286] RtlGetAppContainerNamedObjectPath [0x77B9809E+238]
←[38;5;39m2024-07-10 18:24:54,094 [INFO] ****aaliyahaldrich@outlook.com****←[0m
DevTools listening on ws://127.0.0.1:53634/devtools/browser/fb6f1293-b111-4b60-bea9-e61804f273bc Exception ignored when trying to send to the signal wakeup fd: Traceback (most recent call last): File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1013, in close def close(self):
OSError: [WinError 10038] An operation was attempted on something that is not a socket Exception ignored when trying to send to the signal wakeup fd: Traceback (most recent call last): File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1013, in close def close(self):
OSError: [WinError 10038] An operation was attempted on something that is not a socket Exception ignored in: <function Service.del at 0x0000011E428FCCC0> Traceback (most recent call last): File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\common\service.py", line 189, in del File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\common\service.py", line 146, in stop Exception ignored when trying to send to the signal wakeup fd: Traceback (most recent call last): File "", line 309, in init
OSError: [WinError 10038] An operation was attempted on something that is not a socket
self.send_remote_shutdown_command()
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\common\service.py", line 126, in send_remote_shutdown_command
request.urlopen(f"{self.service_url}/shutdown")
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 515, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 532, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 1373, in http_open
return self.do_open(http.client.HTTPConnection, req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 1344, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1336, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1382, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1331, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1091, in _send_output
self.send(msg)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1035, in send
self.connect()
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1001, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 845, in create_connection
KeyboardInterrupt:
Exception ignored when trying to send to the signal wakeup fd:
Traceback (most recent call last):
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\socket.py", line 244, in repr
def repr(self):
OSError: [WinError 10038] An operation was attempted on something that is not a socket Traceback (most recent call last): File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\main.py", line 318, in
main()
File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\main.py", line 43, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\main.py", line 199, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\src\browser.py", line 42, in init
self.webdriver = self.browserSetup()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\Downloads\MS-Rewards-Farmer-master\src\browser.py", line 92, in browserSetup
driver = webdriver.Chrome(
^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init
super().init(*args, *kwargs)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver__init.py", line 258, in init__
self.patcher.auto()
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver\patcher.py", line 178, in auto
self.unzip_package(self.fetch_package())
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\site-packages\undetected_chromedriver\patcher.py", line 287, in fetch_package
return urlretrieve(download_url)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 240, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 515, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 532, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 492, in _call_chain
result = func(args)
^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 1392, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 1344, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1336, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1382, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1331, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1091, in _send_output
self.send(msg)
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1035, in send
self.connect()
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\http\client.py", line 1477, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 455, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1042, in _create
self.do_handshake()
File "C:\Users\jiuma\AppData\Local\Programs\Python\Python312\Lib\ssl.py", line 1320, in do_handshake
self._sslobj.do_handshake()
KeyboardInterrupt
Screenshots
Value of dashboard variable