TychoTheTaco / Twitch-Drops-Bot

A Node.js bot that will automatically watch Twitch streams and claim drop rewards.
MIT License
279 stars 36 forks source link

[Help] Your browser is not currently supported. Please use a recommended browser or learn more here. #284

Open Rot4tion opened 1 year ago

Rot4tion commented 1 year ago

i use Chrome version 106.0.5249.91 (Official Build) (64-bit)

Jaron-Wilson commented 1 year ago

how do i change what browser it will join in, I get same error too

klept0 commented 1 year ago

update your browser - the current version of Chrome is 110.0.5481.104

podreamav commented 1 year ago

Chrome is updated, same problem.

podreamav commented 1 year ago

Did you manage to fix it, somehow?

eduardylopes commented 1 year ago

Same error, also my brower is updated! image

somerandomdough commented 1 year ago

Found this issue randomly so whoever find this, here is what helped me. I use Arch and Firefox, nothing helped me, cleared cache and cookies, tried to use extension to hide/change my browser and OS display for websites. The fix appeared randomly. I had wrong time zone set in my systemd. After changing it, I could successfully log in. Good luck guys whoever needs this. @kvintyy @eduardylopes @nhonhoem0166 @Jaron-Wilson

wangziyingwen commented 1 year ago

i open a new tap "twitch.tv" , i can login in and the bot can work

ghost commented 1 year ago

had wrong time zone set in my systemd. After changing it, I could successfully log in.

Thank you! I can confirm that this fixed the issue for me. I had just made a fresh install of Arch Linux and completely forgot to change my time zone. After I changed it, I was able to log in to Twitch.

leo1mml commented 1 year ago

It solves the issue!!! Same setup here, arch + firefox. Thank you!

thebigdonny commented 1 year ago

It solves the issue!!! Same setup here, arch + firefox. Thank you!

Are you saying that the bot actually works in Arch Linux w/ Firefox? Or just that it logs in. If it works, I may need to read up on getting Arch up and running in a VM with this bot to get back up and running.

somerandomdough commented 1 year ago

@thebigdonny Sorry for confusion. It is not about bot. I have commented unrelated to bot, but related to Twitch and Linux, because this issue was the only thing I have found out there, and I couldn't find a solution till the moment, I solved myself and decided to post a solution to the ones who will be in my shoes one day.

nic-w commented 1 year ago

Still experiencing this. google-chrome and chromium both unsupported. putting "firefox" in the config does not launch the browser

mihanc commented 11 months ago

Still have this issue

Neo31968 commented 10 months ago

Loading config file: config.json [2023-12-11 12:27:43] [info] Logging in... [2023-12-11 12:27:52] [info] Checking for email verification... [2023-12-11 12:28:22] [error] TimeoutError: Waiting for selector .//*[contains(text(), "please enter the 6-digit code we sent")] failed: Waiting failed: 30000ms exceeded at Timeout. (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:63:32) at listOnTimeout (node:internal/timers:573:17) at process.processTimers (node:internal/timers:514:7) [2023-12-11 12:28:22] [info] Checking for 2FA verification... [2023-12-11 12:28:29] [error] ProtocolError: Waiting for selector .//*[contains(text(), "Enter the code found in your authenticator app")] failed: Protocol error (Runtime.callFunctionOn): Target closed at new Callback (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:61:35) at CallbackRegistry.create (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:106:26) at Connection._rawSend (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:216:26) at CDPSessionImpl.send (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:425:78) at next (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-extra-plugin-stealth\evasions\sourceurl\index.js:34:41) at CDPSessionImpl.send (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-extra-plugin-stealth\evasions\sourceurl\index.js:75:16) at ExecutionContext._ExecutionContext_evaluate (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:234:46) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async CDPJSHandle.evaluateHandle (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\JSHandle.js:65:16) at async WaitTask.rerun (E:\Discord Bots\Twitchbot\twitchdrop1\Twitch-Drops-Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:108:28) [2023-12-11 12:28:29] [info] No extra verification found!

Can anyone help me on this

TurtleSwift commented 10 months ago

Had same problems using Playwright. Managed to fix it by setting the UserAgent to the current Firefox UA with latest version. The bot should have the ability to set UA or have it set automatically to current.

Neo31968 commented 10 months ago

image How can I fix this issue