TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
231 stars 51 forks source link

An error occurred:TimeoutError: page.fill: Timeout 30000ms exceeded. Call log: - waiting for locator('#i0116') #145

Closed rosunad closed 1 month ago

rosunad commented 2 months ago

Two months using the script with any problem but since today I'm getting this message:

[2/9/2024, 13:36:33] [PID: 18212] [LOG] [MAIN] Bot started with 1 clusters [2/9/2024, 13:36:33] [PID: 18212] [LOG] [MAIN-WORKER] Started tasks for account *****@gmail.com [2/9/2024, 13:36:33] [PID: 18212] [LOG] [BROWSER] Created browser with User-Agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0" [2/9/2024, 13:36:33] [PID: 18212] [LOG] [MAIN] Starting DESKTOP browser [2/9/2024, 13:37:19] [PID: 18212] [ERROR] [LOGIN] An error occurred:TimeoutError: page.fill: Timeout 30000ms exceeded. Call log:

Don't know if it could be due to a Chrome update

TheNetsky commented 2 months ago

Need more information, like script version. Preferably a recording of the script with headless disabled.

rosunad commented 2 months ago

I've tested this behaviour with version 1.4.7 and 1.4.10

Chrome version 128.0.6613.113

With headless: false Chrome windows shows up and stuck waiting for password. If I do the login the script works fine.

jacket430 commented 2 months ago

Hey there,

Been having the same issue. Here's a full log of the script running.

https://gist.github.com/jacket430/2ccfebf84e22b234939835929814484b

I could record a video if you'd like but there's not much to show, it just opens the https://rewards.bing.com/ page and hangs until all of the timeouts finish happening, before moving on to the rest of the script. Running with or without headless results in the same issue.

TheNetsky commented 2 months ago

Remove your email from the log, also are you using a proxy?

jacket430 commented 2 months ago

Whoops, appreciate it. I'm not using a proxy, no.

Updated to the latest version, still having the same issues. I'm in Canada, not sure if that's important.

TheNetsky commented 1 month ago

Should be fixed with 1.4.11 hopefully

jacket430 commented 1 month ago

I've updated to 1.4.11 and am getting a slightly different error now. Here's a copy of the logs. It happens at the same time as this error used to happen, but instead of .fill it's .click. I can see the links on screen and can click them myself but the script doesn't seem to be able to recognize them. After those errors finish timing out, it moves on to finishing the rest of the script.