-
Notifications
You must be signed in to change notification settings - Fork 9.4k
"Can not resolve reCAPTCHA parameter" entries in exception.log for Google reCAPTCHA Admin Panel #34975
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
Comments
Hi @engcom-Hotel. Thank you for working on this issue.
|
Same issue. Happens all the time.
Captcha works. The badge is loaded and visible. When I go to log in, I'll get an error message saying something went wrong. I'll have to log in 2-3 times and around the third time it'll let me in. No javascript console errors are present during this issue. |
Yes this happens as well, I forgot to mention that. Thank you! |
Just wanted to note that we are getting the "Something went wrong with reCAPTCHA. Please contact the store owner." error on frontend too, not just on Admin. The 12,000+ daily log entries are happening with Admin module though. |
We got the same issue, but after analyzing it - it looks like we're getting a lot of such messages because some bot(s) are trying to create a customer, and captcha validation fails for them. We weren't able to reproduce this issue ourselves. |
Thanks for the info! How could we verify if that is the case for us as well? |
@stevekem, we analyzed logs, the interval between requests from the same IP address was ~0-3 sec (usually people don't do requests so quickly), the requests were to |
@ihor-sviziev Ok gotcha! If it is the bots, just block them in robots? Did that resolve the issue for you? |
@stevekem that looks like bots that are trying to hack or do something similar by creating a new customer |
@ihor-sviziev In your case, did you block the bots in robots.txt to resolve the issue? |
@stevekem yes, the requests starting with |
@ihor-sviziev Thank you, appreciate it! Will check our logs and see if that's the case for us as well. |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @stevekem , 1.Login to admin Panel Actual Results Hence Adding the label "Needs Update" |
We have noticed that this issue has not been updated for a period of more than 14 Days. |
We are still facing this issue. In my case, a captcha is needed for the newsletter subscription form. Same error. |
@engcom-Delta @knoorani-ijona Same problem in Magento 2.4.4 in admin loggin page. it seems that the error is reproduced only in production mode |
In my case, there were two javascript errors that caused me to not be able to log in. These errors are due to the minification of the collapse.js and tab.js files in the lib/web/jquery/bootstrap/ path. So the solution to this problem has been to exclude those files from the minification.
|
Hello, We got the same issue in magento version 2.4.3. lot of exception errors in log file. Also, I did try above all solution but didn't work any one. Any update on this issue. |
@engcom-Delta @knoorani-ijona I am having the same problem in Magento 2.4.4. Minification of the collapse.js and tab.js files in the lib/web/jquery/bootstrap/ path is not fixing the issue. |
I have to disable recaptcha for admin login。I hope magento open this issue and review the problem。thanks |
I'm having the same issue. On Friday I upgraded from Magento 2.4.3-p1 to 2.4.4 and today I'm unable to log in to the Backend/Admin. I had to disable Admin Login Recaptcha in the Database to be able to login again. I have no idea what is going on and have to keep recaptcha disabled in the Admin login for now. Stack trace is:
|
Hello @mcspronko, This issue has been created for the recaptcha bug and is no longer reproducible. Please create a new issue and explain the bug with the Cart price rules there. Thanks |
@engcom-Hotel you asked me to update to the latest stable version where i replied that 2.4.7-p3 is not stable due to a bug with price cart rules. I am fully aware that the current issue is about captcha. |
I have the same issue with Magento 2.4.6-p3 updated to 2.4.6-p8 & 2.4.7-p3 and have the same issue of the reCAPTCHA [2024-11-14T22:29:28.584459+00:00] main.ERROR: Magento\Framework\Exception\InputException: Can not resolve reCAPTCHA parameter. in /home/1218041.cloudwaysapps.com/rrkkmbpnmd/public_html/vendor/magento/module-re-captcha-ui/Model/CaptchaResponseResolver.php:25 |
Why is this issue closed? We're still seeing the issue on Magento 2.4.7-p3:
|
2.4.7 p3 {main} {"exception":"[object] (Magento\Framework\Exception\InputException(code: 0): Can not resolve reCAPTCHA parameter. at /home/viprac/public_html/vendor/magento/module-re-captcha-ui/Model/CaptchaResponseResolver.php:25)"} [] |
We have the same issue, I don't know why this ticket was closed with so many reports about issue existence. |
Hi @stevekem , Thanks for your reporting and collaboration. Steps to reproduce
Thanks. |
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-3179 |
Give me solution for stop generating error log |
Any update about this or a solution? |
main.ERROR: Magento\Framework\Exception\InputException: Can not resolve reCAPTCHA parameter. in .../vendor/magento/module-re-captcha-ui/Model/CaptchaResponseResolver.php:25 We are experiencing the same issue on Magento 2.4.7-p4. We would appreciate support regarding the solution. |
Would patch MDVA-39305(or -V2 or -V3) help out here? Just guessing here ... |
@hostep Thanks for that, we have seen this error and it was definitely correlating with a customer struggling to login, oddly switching browser sorted the issue at the time. |
@devchris79 Hello, any update on your end? |
@frostitution we had a couple more stamps on the evening after applying the patch, they were 28 seconds apart, so I would assume it was a result of a login attempt failure. It may be a case that there is multiple ways that this error is being triggered. |
There has been no further errors after appying patch MDVA-39305-V3 as suggested above by @hostep. I am wondering if the errors that I saw on the same day as applying the patch were the result of an old cache data. |
Unfortunately the stamp has occured in the exception log again this morning: [2025-04-01T06:23:45.675148+00:00] main.ERROR: Magento\Framework\Exception\InputException: Can not resolve reCAPTCHA parameter. in ../vendor/magento/module-re-captcha-ui/Model/CaptchaResponseResolver.php:25 |
i also have this issue |
Hi @devchris79, Are you seeing issues on the frontend because this ticket is specifically about trouble with google recaptcha when logging into the backend, which the @tschirmer code seems to have fixed and as far as I can see. And this code has been incorporated into the 2.4.6 branch as far as I can see. Are people are still having issues with Google Recacptcha when logging into the backend ? If not then this ticket should probably be closed. Regards Mark |
@hewgim The @tschirmer code seemed to fix the admin panel login errors for us. I can't speak for the main branch code fix as its not something we have tested. If this ticket is to be closed a new one opened for the frontend issues, a link for users with the frontend ReCaptcha errors would be appreciated. |
yes im still having frontend issues as well
…On Mon, Apr 14, 2025 at 5:30 AM devchris79 ***@***.***> wrote:
@hewgim <https://github.com/hewgim> The @tschirmer
<https://github.com/tschirmer> code seemed to fix the admin panel login
errors for us. I can't speak for the main branch code fix as its not
something we have tested.
If this ticket is to be closed a new one opened for the frontend issues, a
link for users with the frontend ReCaptcha errors would be appreciated.
—
Reply to this email directly, view it on GitHub
<#34975 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKZRGSAY5SEMCPWTNOEZ2RL2ZN52XAVCNFSM5L76MJ72U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEOBQGEYDOOJRGM4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
*devchris79* left a comment (magento/magento2#34975)
<#34975 (comment)>
@hewgim <https://github.com/hewgim> The @tschirmer
<https://github.com/tschirmer> code seemed to fix the admin panel login
errors for us. I can't speak for the main branch code fix as its not
something we have tested.
If this ticket is to be closed a new one opened for the frontend issues, a
link for users with the frontend ReCaptcha errors would be appreciated.
—
Reply to this email directly, view it on GitHub
<#34975 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKZRGSAY5SEMCPWTNOEZ2RL2ZN52XAVCNFSM5L76MJ72U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEOBQGEYDOOJRGM4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Preconditions (*)
Steps to reproduce (*)
Go to Configuration > Security > Google reCAPTCHA Admin Panel
Add your Google API Website Key & Google API Secret Key to any reCAPTCHA below:
reCAPTCHA v2 ("I am not a robot")
reCAPTCHA v2 Invisible
reCAPTCHA v3 Invisible
Enable for Login
Enable for Forgot Password
Save config
Flush cache
Expected result (*)
Actual result (*)
main.ERROR: Can not resolve reCAPTCHA parameter. {"exception":"[object] (Magento\Framework\Exception\InputException(code: 0): Can not resolve reCAPTCHA parameter. at /home/xxxxxxx/public_html/vendor/magento/module-re-captcha-ui/Model/CaptchaResponseResolver.php:25)"} []
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: