question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error from hCaptcha get_cookie request

See original GitHub issue

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 : image

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.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
claabscommented, Nov 28, 2021

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.

0reactions
claabscommented, Jul 11, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[YGG] FlareSolverr error : Unexpected error: Error: Protocol ...
Run flaresolver container with hcaptcha-solver ... Logged Error Messages ... ERROR REQ-1 Error: Unable to process browser request.
Read more >
How to get cookie with POST request to another site, PHP
I need to send a request to another web site. Since I am also using that site's captcha, I need to get cookie...
Read more >
hCaptcha Accessibility
hCaptcha supports users with visual and other impairments. Learn more about how to register.
Read more >
DataDome iOS SDK 2.0
The getCookie API returns the stored Captcha generated by the last resolved Captcha, else it returns nothing if there was no Captcha stored....
Read more >
How to Solve Captcha / ReCaptcha - Python and 2captcha
This video was inspired by spammers. Even after enabling reCaptcha on my site, I get too many spam messages. In this video, I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found