klept0 / MS-Rewards-Farmer

A simple bot that uses Selenium to farm M$ Rewards in Python
MIT License
232 stars 47 forks source link

[BUG] errors after "more promos" #93

Closed SteveeeeeS closed 5 months ago

SteveeeeeS commented 5 months ago

Before submitting a bug report...

Title

Describe the bug

Error after more promos section

Copy and paste your error

2024-04-26 17:01:09,471 [WARNING] Error occurred: Message: no such window: target window already closed from unknown error: web view not found (Session info: chrome=124.0.6367.91) Stacktrace: GetHandleVerifier [0x003AC113+48259] (No symbol) [0x0033CA41] (No symbol) [0x00230A17] (No symbol) [0x0020E02B] (No symbol) [0x0029742E] (No symbol) [0x002A9476] (No symbol) [0x00290B36] (No symbol) [0x0026570D] (No symbol) [0x002662CD] GetHandleVerifier [0x00666533+2908323] GetHandleVerifier [0x006A3B4B+3159739] GetHandleVerifier [0x0044505B+674763] GetHandleVerifier [0x0044B21C+699788] (No symbol) [0x00346244] (No symbol) [0x00342298] (No symbol) [0x0034242C] (No symbol) [0x00334BB0] BaseThreadInitThunk [0x75F87BA9+25] RtlInitializeExceptionChain [0x77C9BB9B+107] RtlClearBits [0x77C9BB1F+191]

Screenshots

Untitled

Value of dashboard variable

https://gist.github.com/SteveeeeeS/199799b712446a3be0a001beb8283264

klept0 commented 5 months ago

When you are running this are you seeing promos not completed or are they all done?

SteveeeeeS commented 5 months ago

It gives the error everything. It's started opening chrome randomly. Sometimes it may get a bit further but last 3 days or so its failed with this

Stephen

-------- Original message -------- From: klept0 @.> Date: 26/04/2024 18:18 (GMT+00:00) To: klept0/MS-Rewards-Farmer @.> Cc: SteveeeeeS @.>, Author @.> Subject: Re: [klept0/MS-Rewards-Farmer] [BUG] errors after "more promos" (Issue #93)

When you are running this are you seeing promos not completed or are they all done?

— Reply to this email directly, view it on GitHubhttps://github.com/klept0/MS-Rewards-Farmer/issues/93#issuecomment-2079783615, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX354BVOM6RF6I4CWYT67HTY7KD5HAVCNFSM6AAAAABG3CO466VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZG44DGNRRGU. You are receiving this because you authored the thread.Message ID: @.***>

SteveeeeeS commented 5 months ago

2024-04-26 21:39:57,217 [WARNING] Error occurred: HTTPSConnectionPool(host='edgeupdates.microsoft.com', port=443): Max retries exceeded with url: /api/products (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)'))). Retrying...

klept0 commented 5 months ago

Delete your sessions folder content and try again - that is not an issue with the script but an issue on your side.

SteveeeeeS commented 5 months ago

Didn't know I could do that. I'll give it a try and feedback. Thanks.

Stephen

-------- Original message -------- From: klept0 @.> Date: 27/04/2024 07:40 (GMT+00:00) To: klept0/MS-Rewards-Farmer @.> Cc: SteveeeeeS @.>, Author @.> Subject: Re: [klept0/MS-Rewards-Farmer] [BUG] errors after "more promos" (Issue #93)

Delete your sessions folder content and try again - that is not an issue with the script but an issue on your side.

— Reply to this email directly, view it on GitHubhttps://github.com/klept0/MS-Rewards-Farmer/issues/93#issuecomment-2080388305, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX354BQKBHBSV4LN3ATTNYLY7NB35AVCNFSM6AAAAABG3CO466VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGM4DQMZQGU. You are receiving this because you authored the thread.Message ID: @.***>

SteveeeeeS commented 5 months ago

Is it worth clearing that folder (or particular folders within) on a semi regular basis?

-------- Original message -------- From: klept0 @.> Date: 27/04/2024 07:40 (GMT+00:00) To: klept0/MS-Rewards-Farmer @.> Cc: SteveeeeeS @.>, Author @.> Subject: Re: [klept0/MS-Rewards-Farmer] [BUG] errors after "more promos" (Issue #93)

Delete your sessions folder content and try again - that is not an issue with the script but an issue on your side.

— Reply to this email directly, view it on GitHubhttps://github.com/klept0/MS-Rewards-Farmer/issues/93#issuecomment-2080388305, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX354BQKBHBSV4LN3ATTNYLY7NB35AVCNFSM6AAAAABG3CO466VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGM4DQMZQGU. You are receiving this because you authored the thread.Message ID: @.***>

klept0 commented 5 months ago

Occasionally nuking the contents of that folder has resolved peoples issues - keep in mind you will have to login each time after you wipe that folder. If space is a concern you can see how large that folder is growing and delete if necessary as well.

Kenneth-zh commented 5 months ago

I encountered this when I ran the program on ubuntu with the latest chrome

Kenneth-zh commented 5 months ago

but seemingly deleting sessions file just simply fix it

SteveeeeeS commented 5 months ago

It seemed better deleting sessions folder but then at bing searches it started again. Blockage then then failing with the above

Stephen

-------- Original message -------- From: Kenneth Zhang @.> Date: 29/04/2024 12:46 (GMT+00:00) To: klept0/MS-Rewards-Farmer @.> Cc: SteveeeeeS @.>, Author @.> Subject: Re: [klept0/MS-Rewards-Farmer] [BUG] errors after "more promos" (Issue #93)

but seemingly deleting sessions file just simply fix it

— Reply to this email directly, view it on GitHubhttps://github.com/klept0/MS-Rewards-Farmer/issues/93#issuecomment-2082509054, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX354BUJOME644KTYVFKEG3Y7YXKJAVCNFSM6AAAAABG3CO466VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSGUYDSMBVGQ. You are receiving this because you authored the thread.Message ID: @.***>

klept0 commented 5 months ago

Do you see the "blockage" if you are searching manually or only with the assistance of this script?

SteveeeeeS commented 5 months ago

Never had it manually using bing.

Just got error occurred. Message: no such window: target window already closed from unknown error: Web view not found

If anything I can do to help diagnosis let me know

Stephen

-------- Original message -------- From: klept0 @.> Date: 29/04/2024 15:23 (GMT+00:00) To: klept0/MS-Rewards-Farmer @.> Cc: SteveeeeeS @.>, Author @.> Subject: Re: [klept0/MS-Rewards-Farmer] [BUG] errors after "more promos" (Issue #93)

Do you see the "blockage" if you are searching manually or only with the assistance of this script?

— Reply to this email directly, view it on GitHubhttps://github.com/klept0/MS-Rewards-Farmer/issues/93#issuecomment-2082888971, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX354BWI2DBQCWTZSVPJXWLY7ZJUXAVCNFSM6AAAAABG3CO466VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSHA4DQOJXGE. You are receiving this because you authored the thread.Message ID: @.***>

constantindjonkam commented 5 months ago

It's definitely an issue. For the past few days I realized my pts weren't going up by much so today I manually ran it and it crashes at more promos multiple times. So I did the promos myself and I noticed that after completing one of them the ms reward site showed an error (page error, myb I forgot to screenshot). I think to bypass this all that's is needed is navigate back to ms rewards and continue the more promo thing when the error occurs. (Moreover, some of their quizzes are now many more questions that needs to be answered than before)

After completing it myself today the script is working

SteveeeeeS commented 5 months ago

Yeah. Funny you say that. I "thought" when I manually did some question it went further that previously. I clear seasions and it still fails. Tried deleting a few times

Stephen

-------- Original message -------- From: Constantin Djonkam @.> Date: 30/04/2024 15:17 (GMT+00:00) To: klept0/MS-Rewards-Farmer @.> Cc: SteveeeeeS @.>, Author @.> Subject: Re: [klept0/MS-Rewards-Farmer] [BUG] errors after "more promos" (Issue #93)

It's definitely an issue. For the past few days I realized my pts weren't going up by much so today I manually ran it and it crashes at more promos multiple times. So I did the promos myself and I noticed that after completing one of them the ms reward site showed an error (page error, myb I forgot to screenshot). I think to bypass this all that's is needed is navigate back to ms rewards and continue the more promo thing when the error occurs. (Moreover, some of their quizzes are now many more questions that needs to be answered than before)

After completing it myself today the script is working

— Reply to this email directly, view it on GitHubhttps://github.com/klept0/MS-Rewards-Farmer/issues/93#issuecomment-2085454735, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX354BTM3ADBWQ5T5NE7MMDY76RY3AVCNFSM6AAAAABG3CO466VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGQ2TINZTGU. You are receiving this because you authored the thread.Message ID: @.***>

1ntort commented 5 months ago

where is the sessions folder and what is it because i cant find it anywhere online @klept0

SteveeeeeS commented 5 months ago

It's in your run from/install location

Stephen

-------- Original message -------- From: 1NTORT @.> Date: 08/05/2024 17:11 (GMT+00:00) To: klept0/MS-Rewards-Farmer @.> Cc: SteveeeeeS @.>, Author @.> Subject: Re: [klept0/MS-Rewards-Farmer] [BUG] errors after "more promos" (Issue #93)

where is the sessions folder and what is it because i cant find it anywhere online @klept0https://github.com/klept0

— Reply to this email directly, view it on GitHubhttps://github.com/klept0/MS-Rewards-Farmer/issues/93#issuecomment-2100927072, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX354BXPPCUIGYANQOMUSFTZBJFDJAVCNFSM6AAAAABG3CO466VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQHEZDOMBXGI. You are receiving this because you authored the thread.Message ID: @.***>

1ntort commented 5 months ago

ohh sorry i didnt realise that was in there