Microsoft-Rewards-Farmer
Microsoft-Rewards-Farmer copied to clipboard
[BUG] Connection forced shutdown
Before submitting a bug report...
- [X] This bug wasn't already reported. (I have checked every bug report on GitHub)
Title
- [X] The title is no longer "[BUG] Title" and I edited it with the right error name.
Describe the bug
Ordinary run, Python3.11.4, Selenium4.11.2, I have no idea how the problem caused, please help, thanks a lot
Copy and paste your error
[38;5;39m2023-08-24 19:54:41,702 [INFO] Your Email[0m [38;5;39m2023-08-24 19:54:44,051 [INFO] Using default request storage[0m [38;5;39m2023-08-24 19:54:44,057 [INFO] Created proxy listening on 127.0.0.1:13129[0m [38;5;39m2023-08-24 19:54:44,057 [INFO] Using undetected_chromedriver[0m [38;5;196m2023-08-24 19:54:44,292 [ERROR] URLError: <urlopen error [WinError 10054] 远程主机强迫关闭了一个现有的连接。>[0m Traceback (most recent call last): File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 1286, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 1332, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 1281, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 1041, in _send_output self.send(msg) File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 979, in send self.connect() File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\http\client.py", line 1458, in connect self.sock = self._context.wrap_socket(self.sock, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\ssl.py", line 517, in wrap_socket return self.sslsocket_class._create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\ssl.py", line 1075, in _create self.do_handshake() File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\ssl.py", line 1346, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\jacob\Downloads\Compressed\Microsoft-Rewards-Farmer-master\main.py", line 24, in main executeBot(currentAccount, notifier, args) File "C:\Users\jacob\Downloads\Compressed\Microsoft-Rewards-Farmer-master\main.py", line 127, in executeBot with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\Downloads\Compressed\Microsoft-Rewards-Farmer-master\src\browser.py", line 41, in init self.webdriver = self.browserSetup() ^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\Downloads\Compressed\Microsoft-Rewards-Farmer-master\src\browser.py", line 77, in browserSetup driver = webdriver.Chrome( ^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init super().init(*args, **kwargs) File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver_init_.py", line 258, in init self.patcher.auto() File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver\patcher.py", line 157, in auto release = self.fetch_release_number() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver\patcher.py", line 225, in fetch_release_number return LooseVersion(urlopen(self.url_repo + path).read().decode()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 216, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 519, in open response = self._open(req, data) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 496, in _call_chain result = func(*args) ^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jacob\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [WinError 10054] 远程主机强迫关闭了一个现有的连接。>
Screenshots
Value of dashboard variable
none