claabs / epicgames-freegames-node

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
https://hub.docker.com/r/charlocharlie/epicgames-freegames
MIT License
1.33k stars 89 forks source link

The security code is invalid or expired #278

Closed CappiSteijns closed 6 months ago

CappiSteijns commented 1 year ago

Describe the bug The security code is invalid or expired image

After setting up I always get the same error.

When starting the container it will look for games to claim. I get a message at discord saying I need to resolve the captcha. I resolve the captcha and I get the error described above.

After a minute or so the webpage will say: "Session complete! Browser has closed." image

Screenshots or Logs

image

This is the log after starting the container but before resolving the captcha: image

This is the log after resolving the captcha: image

Configuration (please complete the following information):

Additional context

image

If this issue already has been posted, sorry, then I looked over it :)

claabs commented 1 year ago

I can't reproduce this. I'd recommend re-setting up your MFA following these instructions: https://github.com/claabs/epicgames-freegames-node#two-factor-login

CappiSteijns commented 1 year ago

I can't reproduce this. I'd recommend re-setting up your MFA following these instructions: https://github.com/claabs/epicgames-freegames-node#two-factor-login

Already tried that multiple times using different auth apps. With totp updated everytime 🤔

claabs commented 1 year ago

Random thought: is the clock on the system running this set correctly? TOTP relies on time to generate its tokens.

CappiSteijns commented 1 year ago

Random thought: is the clock on the system running this set correctly? TOTP relies on time to generate its tokens.

Added Timezone to the docker container, but this didn't help :(

claabs commented 6 months ago

No longer relevant in latest version