epicgames-freegames-node
epicgames-freegames-node copied to clipboard
Error from hCaptcha get_cookie request
docker pull latest image today for migration to Rpi3 v3 to Amd64 v4. Follow github tuto for changes in config.json file.
Describe the bug
Followed the github readme for v3 to v4 migration. Go to https://dashboard.hcaptcha.com/signup?type=accessibility and put my email adress. right clic on link and copy link. Paste on config.json file in the "hcaptchaAccessibilityUrl": "https://accounts.hcaptcha.com/verify_email/[...]",
run docker-compose up -d && docker logs -f epic_free_games.
In the logs I have this message :
I copy paste the ling to do the captcha by myself and it works. But the hcaptcha manipulation don't work for me.
Screenshots or Logs
[2021-11-02 15:35:21.083 +0100] INFO (52 on e53edf4b3f29): Checking free games for [...]
[2021-11-02 15:35:28.706 +0100] WARN (52 on e53edf4b3f29): Error from hCaptcha get_cookie request, continuing without hCaptcha accessibility cookies
status: 401
errorBody: {
"status": "error"
}
[2021-11-02 15:35:36.626 +0100] INFO (52 on e53edf4b3f29): Go to this URL and do something
user: "[...]"
url: "https://[...]"
[2021-11-02 15:36:20.207 +0100] INFO (52 on e53edf4b3f29): Successfully logged in fresh
user: "[...]"
[2021-11-02 15:36:20.822 +0100] INFO (52 on e53edf4b3f29): Available free games
user: "[...]"
availableGames: [
"DARQ: Complete Edition"
]
[2021-11-02 15:36:21.203 +0100] INFO (52 on e53edf4b3f29): Unpurchased free games
user: "[...]"
purchasableGames: [
"DARQ: Complete Edition"
]
[2021-11-02 15:36:21.204 +0100] INFO (52 on e53edf4b3f29): Purchasing DARQ: Complete Edition
[2021-11-02 15:36:23.733 +0100] INFO (52 on e53edf4b3f29): Done purchasing DARQ: Complete Edition
Run once: false
Setting cron schedule as 5 16 * * *
Configuration (please complete the following information):
- Hosting solution [e.g. reverse proxy, HTTPS/HTTP, caching, localhost]: docker on Debian. Container behind traefik for reverse proxy.
Have you tried this many times today? hCaptcha will softban your IP address and/or hCaptcha user after 5 attempts in 24 hours, which is what that 401 error typically indicates.
Hi, I have this error at the first execution.
I am seeing similar after not having run for a few days.
I'm seeing same issue here -My schedule is set to run 17 01 * * * so only once a day and then manually on startup. I noticed games weren't being purchased today and checked the logs and saw this after a restart, it emailed me to manually complete the captcah process though
Hi,
I get the same issue after setting up the container. Receiving a cookie by using the link works just fine.
I tried updating the stealth plugin in https://github.com/claabs/epicgames-freegames-node/commit/e61c1899206eb6c3fe7d7e4544d9483ada153e0d, but it doesn't seem to help. I imagine hCaptcha is somehow detecting that this is being automated (either via request signatures or patterns) and rejecting it.
I had imagined this would happen eventually, which is why the captcha solving portal exists.
It is just a warning and not a hard error, so as long as you solve the captcha manually, it should retain the login session for around 30 or more days.
Sorry about digging up an old issue but do you think this issue could be worth looking into ? I was looking on hCaptcha accessibility and stumbled onto your project, so I may contribute on my free time. Do you think a fix is possible or it isn't worth effort ?
Do you think a fix is possible or it isn't worth effort ?
hCaptcha's sole purpose as a business is to detect bots. They'll always find a way to detect any automation. Currently there's not an easy to adopt evasion set that can beat it.
I see. I tried anyway with a valid accessibility cookie but epic games just outright sends an invalid captcha response so even if I could somehow get a cookie programmatically it wouldn't be of much use. Thanks
Would integrating the puppeteer-extra-plugin-recaptcha be worth it? Despite the name it can also solve hcaptcha. It uses a paid captcha solving service though.
Would integrating the puppeteer-extra-plugin-recaptcha be worth it? Despite the name it can also solve hcaptcha. It uses a paid captcha solving service though.
Captcha solving services won't work due to Epic's Talon service that wraps the captcha.
No longer relevant in latest version