-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epic - Can't claim 18+ game (reaching timeout) #120
Comments
Receiving the same error with slightly different logs:
In my case, when clicking the "GET" button, the popup shows a gray screen with a spinner, but eventually dismisses and the "GET" button is clickable again. I was not able to redeem it using VNC by manually clicking either (same issue). I haven't tried manually redeeming it in my regular browser yet in case a new version needs to be tested for this. |
I have this error too. Interestingly enough, it eventually succeeded in claiming the title without any modifications. Logs
|
Can't test it, since the game is not available for german accounts: There's already code that should deal with this message: free-games-claimer/epic-games.js Lines 117 to 121 in 6cbd9fe
Observations:
There's a couple of things we can try:
|
Additional context - the script continued to sometimes TimeoutError after successfully claiming the game. I've now updated to the latest Docker image following the above commit. 4/10 attempts I received a new error...
All other attempts were completed successfully. I'll report back if I see the TimeoutError again. |
@EthanC Ok, so the click delay seems to have solved the Timeout for clicking on Continue. The |
Hi @vogler: Thanks for the updated version! After the 1st attempt still showed the same error message, the 2nd try gave probably the reason why it did not work:
Im also from Germany, however my epic account is set to US and there seems to be IP-Geoblock when trying to purchase it, even when trying to do so manually edit: I know this feature might probably not be of interest for the most folks, but could VPN-support be added to the docker? |
I'm reading on a forum that others had issues yesterday redeeming it too while manually trying to claim the game. I just ran the script again now and it worked the first time. Looks like this may have been a temporary issue with Epic's website. |
I opened an issue for it. |
|
@xBlackPoison357x did you also get a notification for it? It's a bit annoying that the trace doesn't contain any useful information, but it should be the click on Continue which somehow hangs around after the promise already resolved. I assume claiming 18+ games should now work for everyone without a timeout. Just this |
Just tested Mordhau (18+):
Regarding 2., the problem is between clicking on the free-games-claimer/epic-games.js Line 120 in 351bf00
and closing the browser context at the end: free-games-claimer/epic-games.js Line 229 in 351bf00
When commenting either out, I did not get Target closed .However, without the click, the message stays there and the title of the game is not detected correctly, and without the close, it just waits around at the end. Same effect when I removed the , { delay: 111 } from the click. Adding noWaitAfter had no effect.So it seems like Playwright creates another promise with delay which then hangs around waiting.Catching the exception to ignore it did not work - neither adding .catch(_ => { }) for the click, nor
try {
await context.close();
} catch (error) {
console.error(error.message, error);
}
|
For me it fails if an 18+ game is available, but I'm not sure about this, because the first game it tries to claim isn't 18+.
Neither of the games were claimed. OS: Linux Mint 21.1 |
@ChekeredList71 No, this is something else, neither are 18+ (at least for me in DE). |
Closing this since timeout is fixed. Tracking |
Hello,
I am currently running into a problem with this weeks free giveaway at Epic (Dying Light Enhanced Edition). The script seems to be not able to claim the game and runs into an timeout.
Is there a way for me to fix this issue?
Thanks!
The text was updated successfully, but these errors were encountered: