-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
"Can not resolve reCAPTCHA parameter" entries in exception.log for Google reCAPTCHA Admin Panel #34975
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. |
Still having this issue in 2.4.6 |
The patch supplied above works for me on version 2.4.4-p5. Thanks to @tschirmer and @C4rter. |
Discovered this issue not too long after enabling official Magento reCAPTCHA Checkbox (Customer Registration Form only) on Magento 2.4.6, still an issue |
Each form "Recaptchable" has an additional script block added. You have to watch the corresponding recaptcha module. <referenceContainer name="footer">
<block class="Magento\ReCaptchaUi\Block\ReCaptcha"
name="recaptcha-newsletter"
after="-"
template="Magento_ReCaptchaNewsletter::recaptcha_newsletter.phtml"
ifconfig="recaptcha_frontend/type_for/newsletter">
<arguments>
<argument name="recaptcha_for" xsi:type="string">newsletter</argument>
<argument name="jsLayout" xsi:type="array">
<item name="components" xsi:type="array">
<item name="recaptcha" xsi:type="array">
<item name="component" xsi:type="string">Magento_ReCaptchaFrontendUi/js/reCaptcha</item>
</item>
</item>
</argument>
</arguments>
</block>
</referenceContainer> Are you sure your layout is including this additional script block ? I noticed it after dd() the |
Ditto. As @AlexandreBulete says, just add it in yourself. You should see a hidden (or similar) in each form you want to use recaptcha in. Less convenient, but it sorts it. |
I see this template on my site and I am still receiving the error for frontend Customer Registration |
@frostitution I'm getting the same error on the customer registration form(2.4.5-p4 EE). Were you able to resolve this? |
Same error for me on 2.4.5-p5 OS. Error occurs when bots try to register new customer account. |
I am having the same issue. We are using magento2.4.6-p2 + hyva. but when create the captcha key and apply it to frontend it show same error and not allowed us to login/sign up successfully. |
@rejith7 No, sorry. I left it enabled because recaptcha works, but the log errors are still there. recaptcha works for us when we test it and cannot seem to replicate this consistently. I have been monitoring for any sort of solution from anyone but no luck. |
Issue also still here! For me it has something to do with bots (I think) cause its always happening in the night. The form itself and during the day it's working perfectly fine with Recaptcha. |
I have the same problem. We are using Magento2.4.7-p2 |
Having same issue, no resolution. |
Having the same issue on Magento 2.4.7-p2, been seeing it since 2.4.6 on our installation |
Hello @devvolunteeruk @arvind-curotec, We have tried to reproduce the issue in the latest development branch i.e. 2.4-develop but the issue is not reproducible for us. We have used Recaptcha v2 (I am not a robot). There are no log entries with the specified error in the main description. Please let us know if we missed anything. Thanks |
Same issue with V3 on 2.4.6-p8 |
Hello @jmonrove, Please try to reproduce the issue either in the latest development branch i.e. 2.4-develop or the latest stable version. We have tried to reproduce the issue in the development branch and it is not reproducible for us. Thanks |
The issue exists on Magento 2.4.6-p8 Open Source. |
Hello @mcspronko, We recommend you please upgrade your instance to the latest stable version and let us know if you are still able to reproduce the issue. Thanks |
Hello @engcom-Hotel We are on the latest stable version of Magento. The 2.4.7-p3 has a bug with Cart Price Rules that we can't move to this version as of now. |
Thanks @mcspronko for the reply! Are you facing the issue mentioned in the main description in 2.4.7-p3? If yes, can you please let us know the steps to reproduce it? Also, please try to reproduce the issue in the latest development branch, 2.4-develop and let us know if the issue is reproducible for you or not because for us the issue is not reproducible. Thanks |
The 2.4.7-p3 has a bug with Cart Price Rules, not related to Captcha. |
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:
|
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: