TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
189 stars 44 forks source link

ERR_CONNECTION_RESET #83

Closed Gamination closed 6 months ago

Gamination commented 6 months ago
[14/3/2024, 9:00:18 am] [PID: 12484] [LOG] [BROWSER] Created browser with User-Agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"

[14/3/2024, 9:00:18 am] [PID: 12484] [LOG] [MAIN] Starting DESKTOP browser
[14/3/2024, 9:00:18 am] [PID: 12484] [ERROR] [LOGIN] An error occurred:Error: page.goto: net::ERR_CONNECTION_RESET at https://rewards.bing.com/signin
Call log:
  - navigating to "https://rewards.bing.com/signin", waiting until "load"

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v20.11.1

This is the commandline output. It completes one account successfully and then on the second account it throws this error

TrinitroToluen0 commented 6 months ago

It happens to me if my pc goes on suspend mode. Make sure that is not the problem

TheNetsky commented 6 months ago

Indeed an issue on your end.