chvarkov/google-recaptcha

Unexpected error. Please submit issue to @nestlab/google-recaptcha.

Closed this issue · 7 comments

901F commented

Describe the bug
I use Recaptcha V3 implement with Angular 13
I found error "Unexpected error. Please submit issue to @nestlab/google-recaptcha."
on some user in my web application

To Reproduce
I can't reproduce this because user said wait about 5 minute it will fine.

Expected behavior
I think because user agent I found usually issue happen on Android

Screenshots
image

Additional context
List of User Agent has found this problem

  • Mozilla/5.0 (Linux; Android 11; vivo 1904) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36
  • Mozilla/5.0 (Linux; Android 10; vivo 1935) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36
  • Mozilla/5.0 (Linux; Android 11; Redmi Note 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
  • Mozilla/5.0 (Linux; Android 11; vivo 1901) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36

@MADCAZ Hi, which version do you use?

901F commented

@MADCAZ Hi, which version do you use?

@nestlab/google-recaptcha: 2.1.2
@nestjs/core: 8.0.0

@MADCAZ Hi could you update the package to latest version and add module option debug: true. I just need more information about your error.

I have same error.
@nestlab/google-recaptcha: 3.2.0
@nestjs/core: 8.0.0
test

Hi @hoangkm-vnext , which recaptcha version are you using? v2 or v3?

Hi @hoangkm-vnext , which recaptcha version are you using? v2 or v3?

v2

@hoangkm-vnext I couldn't reproduce it. Do you have a chance to log response in utf-8 encodding?
I need to know which json response you received from recaptcha server.