Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google recaptcha v3 issues

Why does recaptcha v3 throw an error ? ... when I check the humanity of a visitor a second time on the same page?

Token is clearly NOT a duplicate. ... so what is a duplicate?

First token:

03AEMEkEl76Kn0nMhKlgY8dMOAD2g3zGIHoGOqz95jEFKl8A24gADw-2gBipDYcU7G_TWSqpuWyNa62CIk-tYdreevde0p1lJg_3wwZlmD9giDSdPb_He-mTsIqv0tMuEroJLLArCI4vfbZjcCZ6BYokYEhYbCU-Qqdx9YbqgRG1JJDxE8LRagR0cPY8mfQZ5bZ7KGK8Dfqe8avqOy18RvIcYk-H6s9Bhq28s5YRIkHid163c-yqpeY8U5j9U70aveSuEcLz-UMlgsQ8MaYhHIIv7cJpag2RJFAgGxOZnWONEk2Z9-IK_Ea_4

recaptcha v3 Response:

{
"score":0.1,
"hostname":"localhost",
"success":true,
"challenge_ts":"2018-07-17T21:24:03Z",
"action":"AW___________LGOZCKiH_oQBEJnwwYcD"
}

Second token on same page with same label:

03AEMEkEk-CVItfMmzYErG97inmxzf7mIeWuAgEXmwncu8AvMGP0ofXnwCMFNdBpa7CY8MCkVZ_skiF1HwmGhKBgayFm-fM3VM_QfM5LRNDbxLLyCF8lGclmBBlihmkeT1PsvW9LrVfp2VdikuHxeqvviGnI2NKQHbclvaDnuu5rwy3HS_EiPrn7eJb3z892f8oIOMkVg6tTsCNPCTnH5QuvAIw2DlI3EiRFDSqIjXp4vJdzJIGn10K6Noi1JIPOCzJ8OUshn_yFROWvNNpYNFn3E7tSHk3j0LU9-KDy1RiSoEf2I1VcVEKTE

recaptcha v3 Response:

 {"error-codes":["timeout-or-duplicate"],"success":false}
like image 245
fodon Avatar asked Jul 17 '18 21:07

fodon


People also ask

What happens if reCAPTCHA v3 fails?

If the reCaptcha failed, then it, mostly, a bot. So no actual action is required. So it could be an ignore action - no response action at all.

Why is my Google reCAPTCHA not working?

There are a few steps you can take to improve your experience: Make sure your browser is fully updated (see minimum browser requirements) Check that JavaScript is enabled in your browser. Try disabling plugins that might conflict with reCAPTCHA.

Does Google reCAPTCHA v3 work?

How does reCAPTCHA v3 actually work? reCAPTCHA v3 works behind the scenes to determine if the user is a robot or human. Google haven't made it public exactly how this is done (so it can't be exploited) – however we do know it's based on a series of factors.

Is reCAPTCHA v3 good?

ReCAPTCHA v3: Easy on Humans, Except Website Admins After listening to some of the user complaints, Google developed reCAPTCHA v3 to provide a better user experience. Unlike v2, reCAPTCHA v3 is invisible for website visitors. There are no challenges to solve.


2 Answers

Yes, This is the error code we get in two case. 1) When we send same token for two requests 2) The token gets expired in every 3 minutes. So if the user do not submit the form in 3 minutes then the token gets expired and we get this error message.

like image 88
Sumit Sharma Avatar answered Dec 07 '22 02:12

Sumit Sharma


The token might have timed out. It happened to me also. On page rendering, a token was generated but I performed an action after a long time. Then it gave me this error. But if the token is generated on action performing then it works fine.

like image 33
Aman Kumar Avatar answered Dec 07 '22 02:12

Aman Kumar