vogler / free-games-claimer

Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG.
GNU Affero General Public License v3.0
2.2k stars 139 forks source link

Can't login to epic games #260

Closed LOCKhart07 closed 6 months ago

LOCKhart07 commented 7 months ago

Error image

I checked and I have commit - a374d48 that was mentioned in a previous issue

WalkingSteph commented 7 months ago

In the current version the commit is already merged but the timeout in the screenshot from [LOCKhart07] still exists. But only if i use it outside docker... inside docker if have the captcha issue

TheButterbrotMan commented 7 months ago

Yep, yesterday it worked. But today getting this error.

KazemaRyukuro commented 6 months ago

will this error be fixed?

vogler commented 6 months ago

I'll probably have some time around the holidays if it's not a fast fix. First have to check which of all these issues are duplicates... Should add issue templates.

Did you try to login in the browser (SHOW=1)?

KazemaRyukuro commented 6 months ago

I can't. VNC and noVNC both do not work.

vogler commented 6 months ago

What do you mean? Are you on HAOS? Shouldn't mix issues. I'm talking about the timeout in the original post. Run SHOW=1 node epic-games on your host, not docker. Then log in in the browser, not using the CLI. If that works, the password locator changed. Can't test it myself right now.

KazemaRyukuro commented 6 months ago

yes i have the error. but i don´t have access to the browser because i´m on HAOS. And VNC and noVNC didn´t work. the browser loads endlessly when I try noVNC and VNC using RealVNC also loads endlessly until the addon stops.

vogler commented 6 months ago

And you don't have another machine where you could run it? https://github.com/vogler/free-games-claimer/wiki/Host-and-run-free-games-claimer-in-the-cloud-periodically

But yea, bad combo 😄 Maybe the HAOS (#149) and captcha (#183) issues will be resolved together by upgrading the OS and changing to TigerVNC.

KazemaRyukuro commented 6 months ago

Yes, thats the problem at the moment

vogler commented 6 months ago

They changed some things:

The captcha challenge detection should be fixed, but I'm now also getting an 'unsolvable' captcha during login.

vogler commented 6 months ago

Ok, without PWDEBUG=1 I didn't get any captcha on macOS:

❯ BROWSER_DIR=data/browser3 node epic-games.js
2023-12-21 02:01:07.716 started checking epic-games
startup: 2.927s
Not signed in anymore. Please login in the browser or here in the terminal.
Login timeout is 180 seconds!
Press ESC to skip the prompts if you want to login in the browser (not possible in headless mode).
✔ Enter password · ********
Enter the security code to continue - This appears to be a new device, browser or location. A security code has been sent to your email address at ...
Signed in as ...
login: 20.147s
Free games: [ 'https://store.epicgames.com/en-US/p/dnf-duel-07d055' ]
Current free game: DNF Duel
  Not in library yet! Click GET.
  DRYRUN=1 -> Skip order!
claim game: 5.028s
claim all games: 5.226s
Recorded video: /Users/voglerr/dev/Web/free-games-claimer/data/record/8214ccc0-9c64-4262-9f1e-f00779618f7d.webm

So, this issue is solved. Captcha for docker is tracked in #183.

TheButterbrotMan commented 6 months ago

Im running this script on a headless debian instance, and still getting the captcha error. Not signed in anymore. Please login in the browser or here in the terminal. Login timeout is 180 seconds! Using email and password from environment. Got a captcha during login (likely due to too many attempts)! You may solve it in the browser, get a new IP or try again in a few hours.

This was my first login since days, and i dont have PWDEBUG set to 1.

Shirotaku commented 3 months ago

If anyone is struggeling with unsolvable captchas: Try linking your epic account with steam and login this way. This worked for me!