-
Notifications
You must be signed in to change notification settings - Fork 64
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
ReCaptcha error: Failed to load script #104
Comments
Add the following in nuxt.config.js
|
Hm.. I tried your code. After that my auth stopped working. Just nothing happens after clicking 'Login' button. Seems like magic, cause I didn't change anything else except this script in nuxt.config.js. But, it seems to be more magic here, because it strart working if I set src attribute for script as Unfortunately, I didn't test it for my primary problem. And.. why these links can behave so different though they return almost the same code? And why was it changed in plugin anyway? |
@birdy90 Maybe I can add a |
I'm not sure it's a good idea. I suppose recaptcha is not working with multiple links, so it seems to be strange: what else link can I put there if it is not an official one? but you are free to do as you want, of couse :) maybe it would be better to have retry method, and throw error only if several retries failed |
There was a PR a while ago for using recaptcha.net instead of the google one because of the region problems 🤷♂️ |
I am also having problems loading the script. On localhost it works very well, including my remote backend api. But as soon as I push this to production, I get an error instantiating the captcha:
What could be the reason that if fails on production server? Apparently the header |
Hello! Using recaptcha module on my project, and everything seems to work fine. But my sentry shows me
ReCaptcha error: Failed to load script
error from time to time. That means some users having the issue, though I can't reproduce it. Maybe there's a way I can see the reason script loading has failed? Browsing theplugin.js
code didn't give me the answerThis is my config
And this is how I use it:
The text was updated successfully, but these errors were encountered: