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: Too many login attempts. (Captcha issues during login)

See original GitHub issue

Since yesterday there seems to be a problem with the login process. For the first time in a few weeks I received a request to solve a captcha. Today I tried again with the newest image version of the container: I solved three of these captchas in a row, after which the logs show the following error:

Error: Too many login attempts. This probably because something is wrong with the captcha process.
        at Login.login (/usr/app/src/login.ts:100:13)
        at Login.login (/usr/app/src/login.ts:136:22)
        at processTicksAndRejections (internal/process/task_queues.js:97:5)
Full logs from start of the container:
Incoming env vars:
RUN_ON_STARTUP: 
CRON_SCHEDULE: 
RUN_ONCE: 
Getting settings from JSON: /usr/app/config/config.json
Setting config variables
Run on startup: true
Run once: false
> epicgames-freegames-node@3.0.0 start /usr/app
> node dist/src/index.js
[2021-03-28 14:31:28.601 +0200] INFO  (47 on 69db50974012): Checking free games for my@mail.tld 
[2021-03-28 14:31:34.891 +0200] INFO  (47 on 69db50974012): Action requested. Waiting for Captcha to be solved
    user: "my@mail.tld"
    id: "2ee8bd7e-f623-426f-b4cd-0b7e5391fe2f"
[2021-03-28 14:31:54.164 +0200] INFO  (47 on 69db50974012): Action requested. Waiting for Captcha to be solved
    user: "my@mail.tld"
    id: "c56d40ed-fdfa-46fc-babf-27d5ed36eeb1"
[2021-03-28 14:32:09.230 +0200] INFO  (47 on 69db50974012): Action requested. Waiting for Captcha to be solved
    user: "my@mail.tld"
    id: "8d3df284-a158-4ad1-94a4-9617c6eab675"
[2021-03-28 14:32:23.572 +0200] ERROR (47 on 69db50974012): Too many login attempts. This probably because something is wrong with the captcha process.
    Error: Too many login attempts. This probably because something is wrong with the captcha process.
        at Login.login (/usr/app/src/login.ts:100:13)
        at Login.login (/usr/app/src/login.ts:136:22)
        at processTicksAndRejections (internal/process/task_queues.js:97:5)
My configuration

{
    "accounts": [
        {
            "email": "my@mail.tld",
            "password": "mypwd",
            "totp": "mytotp"
        }
    ],
    "onlyWeekly": true,
    "runOnStartup": true,
    "intervalTime": 60,
    "cronSchedule": "0 12 * * *",
    "runOnce": false,
    "logLevel": "info",
    "baseUrl": "http://myurl:3000",
    "email": {
        somemailconfig
    }
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:90 (21 by maintainers)

github_iconTop GitHub Comments

8reactions
simphidecommented, May 4, 2021

I also have the same problem…

Does everybody have this problem or only a few?

8reactions
CorneliousJDcommented, Apr 5, 2021

I just pushed a few new potential fixes, and maybe 0284e2f fixed it? I had one successful login that had to actually solve the captcha. It’s tough to test thoroughly due to my home IP’s high trust with hCaptcha (due to solving hundreds of captchas…)

My suspicion is that it has to do with the hcaptcha.com/checkcaptcha/ call, since when a captcha isn’t served, that call isn’t made, and the login succeeds. However, I’ve pretty much mocked that request in its entirety.

Out of ideas for now, so just hoping this is the actual fix.

So now I’m getting capatchas to actually solve on the latest conteainer (instead of just clicking the link and it auto-solving w/ just a black screen) – i now need to select the images for the capatcha, but still ending up with the same errors after doing that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why there are too many login attempts failed and CAPTCHA ...
Click on "Log In". The screen will direct you to the TestOps Home Page. Open the Katalon Studio again and activate the account...
Read more >
captchas never end after too many login attempts - Forums
Due to an excessive number of failed login attempts your Passwordstate session has been locked. To attempt to authenticate again, please verify ...
Read more >
User receives repeated CAPTCHA prompts on login to Jira ...
This problem might be caused due to the browser cookies, or by too many failed attempts. Resolution. Delete the browser cookies and site...
Read more >
Is showing CAPTCHA after n failed attempts less secure?
If brute forcing is your main worry you can just have it show up after 5 attempts or maybe even 10. If someone...
Read more >
Captcha did not appear after 10 unsuccessful login attempts
After 10 unsuccessful logon attempts (wrong password), the user will need to solve a CAPTCHA dialog as part of logon.
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