lukeraymonddowning / honey

A spam prevention package for Laravel, providing honeypot techniques, ip blocking and beautifully simple Recaptcha integration. Stop spam. Use Honey.
MIT License
398 stars 23 forks source link

How to I fix invalid-input-response ? #52

Open paramwork opened 2 years ago

paramwork commented 2 years ago

I am getting this error.

{ "class": "Lukeraymonddowning\\Honey\\Exceptions\\RecaptchaFailedException", "message": "The following errors were returned from the recaptcha token: invalid-input-response", "code": 0, "file": "/var/app/current/vendor/lukeraymonddowning/honey/src/Captcha/Recaptcha.php:37", "trace": [ "/var/app/current/vendor/lukeraymonddowning/honey/src/Captcha/Recaptcha.php:18", "/var/app/current/app/Http/Controllers/Auth/RegisterController.php:70", "/var/app/current/app/Http/Controllers/Auth/RegisterController.php:76", "/var/app/current/vendor/laravel/ui/auth-backend/RegistersUsers.php:34", "/var/app/current/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54", "/var/app/current/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45", "/var/app/current/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262", "/var/app/current/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205", "/var/app/current/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695", "/var/app/current/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128", "/var/app/current/app/Http/Middleware/RedirectIfAuthenticated.php:26", "/var/app/current/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167", "/var/app/current/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50", "/var/app/current/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167", "/var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78", "/var/app/current/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167", "/var/app/current/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49", "/var/app/current/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.

Token refreshes time is 'token_refresh_interval' => 100000,

MDylan commented 2 years ago

I have the same problem. Any suggestion / solution?