Skip to content
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

Getting Error in Console response “Uncaught (in promise) Timeout” #30

Open
nisargrthakkar opened this issue Mar 22, 2019 · 6 comments

Comments

@nisargrthakkar
Copy link

In the console, I am getting the following error

captcha

@nisargrthakkar nisargrthakkar changed the title Getting Error in Console response “Uncaught (in promise) null” Getting Error in Console response “Uncaught (in promise) Timeout” Mar 22, 2019
@BramDecuypere
Copy link

BramDecuypere commented May 23, 2019

Having the same issue! Were you able to solve it? @nisargrthakkar

I found out it only happens when I'm throttling to a very low speed. But we already had 84 occurences in PROD in the last 10 days.

@nisargrthakkar
Copy link
Author

@BramDecuypere No, We are facing the same issue. In Google ReCaptcha issue is open google/recaptcha#269.

Personally, I don't think this issue is not related to low speed.

@blindfish3
Copy link

@nisargrthakkar - throttling and network conditions are absolutely at play here. There's an unhandled timeout in Google's recaptcha code; and no easy way to handle it from outside. If a timeout occurs - most often because of temporary network failure on the client end - the uncaught promise is logged.

I know this because I was tasked with dealing with the many Sentry errors this was generating on a React application. IIRC I had to suppress them in Sentry :/

@trickydisco78
Copy link

Looks like someone has found a fix for this

google/recaptcha#269 (comment)
https://gist.github.com/ANTOSzbk/75ed7003e914162550f61399122a3bd4

Could this be implemented?

@npearson72
Copy link

I've noticed that is not happening in production / without React strict mode. Can anyone else confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@npearson72 @trickydisco78 @BramDecuypere @blindfish3 @nisargrthakkar and others