Closed royaltongue closed 3 months ago
And this is constant or sometimes?
It only happens sometimes. If I re-run the script, it will continue where it left off (I think), but sometimes it can crash again and sometimes it will finish everything
Weird, almost doesn't seem possible when I look at the code. Furthermore never had this happen. How many accounts are you using?
I'm running just one account right now
I also often have this issue, but i run with 5 accounts. I don't think it's tied to a particular account, though usually i just restart the script
This issue was closed? I'm still getting this error on 1.4.5
[4/2/2024, 10:28:18 PM] [PID: 250131] [LOG] [URL-REWARD] Trying to complete UrlReward
[4/2/2024, 10:28:18 PM] [PID: 250131] [LOG] [URL-REWARD] Completed the UrlReward successfully
[4/2/2024, 10:28:30 PM] [PID: 250131] [LOG] [GO-HOME] Visited homepage successfully
[4/2/2024, 10:28:30 PM] [PID: 250131] [LOG] [PUNCH-CARD] All items for punchcard: "Make smart choices for earth" have been completed
[4/2/2024, 10:28:30 PM] [PID: 250131] [LOG] [PUNCH-CARD] All "Punch Card" items have been completed
[4/2/2024, 10:28:30 PM] [PID: 250131] [LOG] [SEARCH-BING] Starting bing searches
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
page.reload: Target page, context or browser has been closed
at BrowserFunc.getDashboardData (/home/z0oinks/Documents/ms-rewards/dist/browser/BrowserFunc.js:69:33)
at BrowserFunc.getSearchPoints (/home/z0oinks/Documents/ms-rewards/dist/browser/BrowserFunc.js:97:42)
at Search.doSearch (/home/z0oinks/Documents/ms-rewards/dist/functions/activities/Search.js:18:58)
at async Activities.doSearch (/home/z0oinks/Documents/ms-rewards/dist/functions/Activities.js:13:13)
at async MicrosoftRewardsBot.Desktop (/home/z0oinks/Documents/ms-rewards/dist/index.js:134:13)
at async MicrosoftRewardsBot.runTasks (/home/z0oinks/Documents/ms-rewards/dist/index.js:83:13)
I'm unable to replicate this issue, and as far as I know no other users seem to have this issue.
So until I can replicate this issue, I will not look further into this.
I have the same issue. Exact error, only difference is file path.
[5/17/2024, 2:50:16 PM] [PID: 12260] [LOG] [SEARCH-BING] Starting bing searches
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
page.reload: Target page, context or browser has been closed
at BrowserFunc.getDashboardData (C:\jsfarmer\dist\browser\BrowserFunc.js:69:33)
at BrowserFunc.getSearchPoints (C:\jsfarmer\dist\browser\BrowserFunc.js:97:42)
at Search.doSearch (C:\jsfarmer\dist\functions\activities\Search.js:18:58)
at async Activities.doSearch (C:\jsfarmer\dist\functions\Activities.js:13:13)
at async MicrosoftRewardsBot.Desktop (C:\jsfarmer\dist\index.js:134:13)
at async MicrosoftRewardsBot.runTasks (C:\jsfarmer\dist\index.js:83:13)
Node.js v20.13.1
Running on Ubuntu 22.04 with one account, it will search normally for a while and then throw this error