TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
233 stars 52 forks source link

Error while running script #105

Closed DestroyerV closed 6 months ago

DestroyerV commented 6 months ago

[11/5/2024, 2:05:16 am] [PID: 11768] [ERROR] [GO-HOME] An error occurred:TimeoutError: page.goto: Timeout 30000ms exceeded. Call log:

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 v22.1.0

DestroyerV commented 6 months ago

This error was occurring due to slow internet, and it can be solved by increasing 'globalTimeout' .