Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

cant log in either way #79

Open
connormcginty opened this issue Oct 6, 2022 · 27 comments
Open

cant log in either way #79

connormcginty opened this issue Oct 6, 2022 · 27 comments

Comments

@connormcginty
Copy link

When loggings in - using command line it crashes
when logging in via browser, twitch won't accept my correct credentials

@RedrootDEV
Copy link

same here

@KingYam
Copy link

KingYam commented Oct 6, 2022

Also having the same problem, Windows 11. Here is output from TTVDropBot-error.txt

2022-10-06 09:32:15: Unhandled Rejection at: Promise {
  <rejected> Error: Navigation failed because browser has disconnected!
      at new LifecycleWatcher (C:\snapshot\TTVDropBot-v2\node_modules\puppeteer-core\lib\cjs\puppeteer\common\LifecycleWatcher.js:95:223)
      at Frame.waitForNavigation (C:\snapshot\TTVDropBot-v2\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Frame.js:261:25)
      at Page.waitForNavigation (C:\snapshot\TTVDropBot-v2\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:1218:88)
      at C:\snapshot\TTVDropBot-v2\build\Pages\loginPage.js:38:29
      at Generator.next (<anonymous>)
      at fulfilled (C:\snapshot\TTVDropBot-v2\build\Pages\loginPage.js:5:58)
      at processTicksAndRejections (internal/process/task_queues.js:95:5) {
    [stack]: 'Error: Navigation failed because browser has disconnected!\n' +
      '    at new LifecycleWatcher (C:\\snapshot\\TTVDropBot-v2\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\LifecycleWatcher.js:95:223)\n' +
      '    at Frame.waitForNavigation (C:\\snapshot\\TTVDropBot-v2\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\Frame.js:261:25)\n' +
      '    at Page.waitForNavigation (C:\\snapshot\\TTVDropBot-v2\\node_modules\\puppeteer-core\\lib\\cjs\\puppeteer\\common\\Page.js:1218:88)\n' +
      '    at C:\\snapshot\\TTVDropBot-v2\\build\\Pages\\loginPage.js:38:29\n' +
      '    at Generator.next (<anonymous>)\n' +
      '    at fulfilled (C:\\snapshot\\TTVDropBot-v2\\build\\Pages\\loginPage.js:5:58)\n' +
      '    at processTicksAndRejections (internal/process/task_queues.js:95:5)',
    [message]: 'Navigation failed because browser has disconnected!'
  }
}
2022-10-06 09:32:24: Something went wrong...

@LukysGaming
Copy link

+1

@jennyfercaron
Copy link

I have the same problem

@bossman90
Copy link

+1

2 similar comments
@FrostFireFury
Copy link

+1

@Suitingyak
Copy link

+1

@jessielw
Copy link

jessielw commented Oct 7, 2022

Same

@TomerGamerTV
Copy link

i get something went wrong error

@cyberofficial
Copy link

cyberofficial commented Oct 7, 2022

  • Work Around for Unable to log in
    • Create a file called twitch-session.json under the same directory of the application
    • Paste this inside the file [{"name":"auth-token","value":"replaceme"}]
    • Goto twitch drops dashboard, Here
    • Get a browser addon that can look at cookies, {Addons: Opera, Chrome, Firefox}
    • Copy the auth-token and replace replaceme with your token
    • Save and close the editor you used then relaunch the application.

⚠️ take notice of your expiring date as well, just a little bit under the auth code, you'll need to get a new code after that time/date

@mrtsntrk
Copy link

mrtsntrk commented Oct 7, 2022

@cyberofficial dude your method is successful.

@MiranoVerhoef
Copy link

@cyberofficial

I have downloaded your patched version but I’m getting the same errors as the post owner,
image

@xeryax
Copy link

xeryax commented Oct 7, 2022

  • Work Around for Unable to log in
    on chrome, can also hit F12, under the application tab there should be a 'cookies' section with https://www.twitch.tv in it. that has the auth-code as well

@LPRM
Copy link

LPRM commented Oct 7, 2022

@cyberofficial

I have downloaded your patched version but I’m getting the same errors as the post owner, image

I have this issue too.

@LukysGaming
Copy link

We'll have to wait for the owner to update it i guess

@cyberofficial
Copy link

cyberofficial commented Oct 7, 2022

@cyberofficial

I have downloaded your patched version but I’m getting the same errors as the post owner,

@cyberofficial
I have downloaded your patched version but I’m getting the same errors as the post owner,

I have this issue too.

If you have my latest build 00.03
Disable channel point collection, (feature i placed in)

Inside settings.json add the line "CollectPoints": false (will add argument for cli soon)
Example:

If that doesn't work, i can try a few other methods, but channels points seem to cause many errors right now

@LPRM
Copy link

LPRM commented Oct 7, 2022

@cyberofficial
I have downloaded your patched version but I’m getting the same errors as the post owner,

@cyberofficial
I have downloaded your patched version but I’m getting the same errors as the post owner,

I have this issue too.

If you have my latest build 00.03 Disable channel point collection, (feature i placed in)

Inside settings.json add the line "CollectPoints": false (will add argument for cli soon) Example:

If that doesn't work, i can try a few other methods, but channels points seem to cause many errors right now

I have "CollectPoints": false already, scrrenshot below:

Screenshot 2022-10-07 191600

@cyberofficial
Copy link

cyberofficial commented Oct 7, 2022

@cyberofficial
I have downloaded your patched version but I’m getting the same errors as the post owner,

@cyberofficial
I have downloaded your patched version but I’m getting the same errors as the post owner,

I have this issue too.

If you have my latest build 00.03 Disable channel point collection, (feature i placed in)
Inside settings.json add the line "CollectPoints": false (will add argument for cli soon) Example:
If that doesn't work, i can try a few other methods, but channels points seem to cause many errors right now

I have "CollectPoints": false already, scrrenshot below:

Screenshot 2022-10-07 191600

Your issue means your auth-token is incorrect or expired; you need to generate a new code and update twitch-session.json using the work around method i posted.

  • make sure to relog into twitch and click the box that says keep me logged in for 30 days for a longer lasting auth-token

@LPRM
Copy link

LPRM commented Oct 7, 2022

@cyberofficial
I have downloaded your patched version but I’m getting the same errors as the post owner,

@cyberofficial
I have downloaded your patched version but I’m getting the same errors as the post owner,

I have this issue too.

If you have my latest build 00.03 Disable channel point collection, (feature i placed in)
Inside settings.json add the line "CollectPoints": false (will add argument for cli soon) Example:
If that doesn't work, i can try a few other methods, but channels points seem to cause many errors right now

I have "CollectPoints": false already, scrrenshot below:
Screenshot 2022-10-07 191600

Your issue means your auth-token is incorrect or expired; you need to generate a new code and update twitch-session.json using the work around method i posted.

  • make sure to relog into twitch and click the box that says keep me logged in for 30 days for a longer lasting auth-token

I had just logged in with that token, tried again with new token and now works. Thank you

@MiranoVerhoef
Copy link

Did the way you said, with the cookie editor, but the error still comes back unfortunately

@MiranoVerhoef
Copy link

@cyberofficial do you have a other cause of the error?

mice verified with disable collect points as well!

@TomerGamerTV
Copy link

i tried using the cookie but the app seem to crash than i try to watch any stream

@cyberofficial
Copy link

@cyberofficial do you have a other cause of the error?

mice verified with disable collect points as well!

@MiranoVerhoef Can you send the logs?

@MiranoVerhoef
Copy link

@cyberofficial let me get them once I’m home!

@bossman90
Copy link

Any news?

@omeganot
Copy link

omeganot commented Oct 13, 2022

I too had that DropsPage_ClaimDropsReward error. What cleared it for me was removing the Docker container and creating it fresh with my updated auth_token. This might not help you if you're not using Docker, but there could be some caching going on somewhere that needs cleared out.

Edit: Aaaand, I'm running right back into it like y'all are. =/

@2relativ
Copy link

2relativ commented Nov 2, 2022

Can confirm this issue is still there. Also @cyberofficial since your build does not support command line yet, I had to use another way: I set the claim timer to like 6000000 xD this way it keeps watching and afterwards i just have to remember claiming :D the autoclaim variable didn't work for me :/ btw, running this on Ubuntu with displayless activated. Runs as a systemd task. It retrys 5 times and after that it stops. In my linux cockpit i can simply start the process from my smartphone. Thats good enough for me at the moment :D

Edit: Now running on docker, seems easier for me.

EditEdit: Well, seems like the claim timer is necessary. by this, the command line and docker are effectively broken.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests