Twitch-Drops-Bot: [Bug] no login possible
Describe the bug Can’ login into docker container
Screenshots If applicable, add screenshots to help explain your problem.
Logs
[2022-12-09 15:53:16] [info] Loading config file: config.json
[2022-12-09 15:53:16] [warn] Overriding browser option because we are inside a docker container!
[2022-12-09 15:53:16] [warn] Adding browser option: --no-sandbox because we are inside a docker container!
[2022-12-09 15:53:16] [info] Logging in…
[2022-12-09 15:53:24] [info] Checking for email verification…
[2022-12-09 15:53:54] [error] TimeoutError: Waiting for selector .//*[contains(text(), "please enter the 6-digit code we sent")] failed: Waiting failed: 30000ms exceeded
at Timeout.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js:64:32)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
[2022-12-09 15:53:54] [info] Checking for 2FA verification…
[2022-12-09 15:54:24] [error] TimeoutError: Waiting for selector .//*[contains(text(), "Enter the code found in your authenticator app")] failed: Waiting failed: 30000ms exceeded
at Timeout.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/WaitTask.js:64:32)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
[2022-12-09 15:54:24] [info] No extra verification found!
[2022-12-09 15:54:24] [info] Waiting for cookies to be created…
[2022-12-09 15:54:27] [info] Waiting for cookies to be created…
[2022-12-09 15:54:30] [info] Waiting for cookies to be created…
[2022-12-09 15:54:33] [info] Waiting for cookies to be created…
[2022-12-09 15:54:36] [info] Waiting for cookies to be created…
[2022-12-09 15:54:39] [info] Waiting for cookies to be created…
[2022-12-09 15:54:42] [info] Waiting for cookies to be created…
[2022-12-09 15:54:45] [info] Waiting for cookies to be created…
[2022-12-09 15:54:48] [info] Waiting for cookies to be created…
[2022-12-09 15:54:51] [info] Waiting for cookies to be created…
[2022-12-09 15:54:54] [error] Error: Timed out while waiting for cookies to be created!
at LoginPage.<anonymous> (file:///app/dist/pages/login.js:62:31)
at Generator.next (<anonymous>)
at fulfilled (file:///app/dist/pages/login.js:4:58)
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 18
@BulldozerPete
make sure you named the cookiefile as following
“cookies-bulldozerpete.json”
@BulldozerPete you need auth-token and unique_id
[ { “domain”: “.twitch.tv”, “expirationDate”: 1705685244, “hostOnly”: false, “httpOnly”: false, “name”: “auth-token”, “path”: “/”, “sameSite”: “no_restriction”, “secure”: true, “session”: false, “storeId”: “0”, “value”: “<COPIED VALUE>”, “id”: 2 }, { “domain”: “.twitch.tv”, “expirationDate”: 1705685246.654696, “hostOnly”: false, “httpOnly”: false, “name”: “unique_id”, “path”: “/”, “sameSite”: “no_restriction”, “secure”: true, “session”: false, “storeId”: “0”, “value”: “<COPIED VALUE>”, “id”: 13 } ]
Hi Pete,
I personally use an browser extension which claims them, when I open my browser I’ve one tab with the Twitch inventory and them it auto claims them.
If I remember it right there already was a bug issue for this and it has something todo with twitch implementations of some kind of antibot thingy.
Verzonden vanaf Outlook voor Androidhttps://aka.ms/AAb9ysg
From: BulldozerPete @.> Sent: Tuesday, January 24, 2023 8:37:48 AM To: TychoTheTaco/Twitch-Drops-Bot @.> Cc: BlackNL16 @.>; Mention @.> Subject: Re: [TychoTheTaco/Twitch-Drops-Bot] [Bug] no login possible (Issue #267)
@BlackNL16https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBlackNL16&data=05|01||6ef7e5c7055e418292e808dafddde4ae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638101426707348461|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2P2qL0asCHMCcpzVxJMlpjaoZ9QnBp2x7Z7nq%2Bc81y4%3D&reserved=0 Do you know if there is an option to auto-claim drops?
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTychoTheTaco%2FTwitch-Drops-Bot%2Fissues%2F267%23issuecomment-1401499582&data=05|01||6ef7e5c7055e418292e808dafddde4ae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638101426707348461|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=MbIYPjhQdBgx6RWbdcZdA5BUujkaTJ34%2BlJuIYy7KQQ%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASQJMHPN6W4Z45SCZHMO3BTWT6BEZANCNFSM6AAAAAASZPXKWE&data=05|01||6ef7e5c7055e418292e808dafddde4ae|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638101426707348461|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=GKxtV%2FdGdp7DCkmvMLE%2BcCOvNnm52ObBXqvLAy5vKyU%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>