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

The operator or administrator has refused the request (0x800710E0) #234

Open
2 tasks done
r5vx opened this issue Dec 3, 2024 · 1 comment
Open
2 tasks done

The operator or administrator has refused the request (0x800710E0) #234

r5vx opened this issue Dec 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@r5vx
Copy link

r5vx commented Dec 3, 2024

Before submitting a bug report...

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

  • I've cleared the sessions folder.

Branch

master

Commit

IDK what this means

Describe the bug

After importing the file in task scheduler, i think it worked the first time (i have some points on my new account, so it worked atleast once) and then when i checked today, i got the following error: "The operator or administrator has refused the request (0x800710E0)" in task scheduler.

Just now, i tried to run it in command prompt and i got some error, which didnt seem to be happening the first time.

Copy and paste your error

2024-12-03 11:23:25,682 [INFO] my email
2024-12-03 11:23:25,682 [DEBUG] in init
2024-12-03 11:23:26,000 [ERROR]
Traceback (most recent call last):
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\main.py", line 40, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\main.py", line 235, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\browser.py", line 48, in init
) = GenerateUserAgent().userAgent(self.browserConfig, mobile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 50, in userAgent
app = self.getAppComponents(mobile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 116, in getAppComponents
edgeWindowsVersion, edgeAndroidVersion = self.getEdgeVersions()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 143, in getEdgeVersions
if stableProduct := next(
^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 144, in
(product for product in data if product["Product"] == "Stable"),
~~~~~~~^^^^^^^^^^^
KeyError: 'Product'
2024-12-03 11:23:26,002 [WARNING] config-private.yaml doesn't exist
2024-12-03 11:23:26,002 [DEBUG] No urls found, not sending notification
2024-12-03 11:23:26,002 [INFO] my 2nd email
2024-12-03 11:23:26,002 [DEBUG] in init
2024-12-03 11:23:26,270 [ERROR]
Traceback (most recent call last):
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\main.py", line 40, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\main.py", line 235, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\browser.py", line 48, in init
) = GenerateUserAgent().userAgent(self.browserConfig, mobile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 50, in userAgent
app = self.getAppComponents(mobile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 116, in getAppComponents
edgeWindowsVersion, edgeAndroidVersion = self.getEdgeVersions()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 143, in getEdgeVersions
if stableProduct := next(
^^^^^
File "C:\Users\BlurA\Downloads\MS-Rewards-Farmer-1.1.0\MS-Rewards-Farmer-1.1.0\src\userAgentGenerator.py", line 144, in
(product for product in data if product["Product"] == "Stable"),
~~~~~~~^^^^^^^^^^^
KeyError: 'Product'
2024-12-03 11:23:26,272 [WARNING] config-private.yaml doesn't exist
2024-12-03 11:23:26,272 [DEBUG] No urls found, not sending notification
2024-12-03 11:23:26,273 [INFO] [POINTS] Data saved for the next day.

Screenshots

image

Value of dashboard variable

https://gist.github.com/r5vx/5a0a289fb38a2edc67db5915f6efa69f

@r5vx r5vx added the bug Something isn't working label Dec 3, 2024
@r5vx
Copy link
Author

r5vx commented Dec 7, 2024

Update: It seems that when I run the code manually it works (although there are some errors such as

[35584:16632:1207/073004.324:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -202

And some other errors occuring later, but it does seem to atleast get some points. I'm not really sure how to debug this as there seem to be multiple errors occuring and I have troubleshooted quite a bit of errors already when I initially tried to get it to work. Is there a way to fix all these errors easily?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant