Any limitation on number of hits on reCAPTCHA

1,310 views
Skip to first unread message

vikas neekhra

unread,
Mar 24, 2016, 11:29:45 PM3/24/16
to reCAPTCHA
I am using Google reCAPTCHA version 2, and have one question regarding number of hits on the captcha.

Is there any limitation on number of hits on passing or calling Google reCAPTCHA in a single minute or in 10 mins? For example, when we have huge load on the site and many users visited the contact us form and trying to pass the captcha at that time we are getting this error java.net.ConnectException: Connection timed out on this line con.getOutputStream()

During off hours the captcha works fine, but when we have too much load during peak hours at that time we are getting connection timed out error.

Any thoughts or suggestions would be much appreciated!

final String url = "https://www.google.com/recaptcha/api/siteverify";
URL obj
= new URL(url);
HttpsURLConnection con = (HttpsURLConnection) obj.openConnection();
     
// add reuqest header
con
.setRequestMethod("POST");
con
.setRequestProperty("User-Agent", USER_AGENT);
con
.setRequestProperty("Accept-Language", "en-US,en;q=0.5");
     
String postParams = "secret=" + secret + "&response=" + gRecaptchaResponse;
// Send post request
con
.setDoOutput(true);
DataOutputStream wr = new DataOutputStream(con.getOutputStream());//GETTING CONNECTION TIMED OUT ERROR ON THIS LINE
wr
.writeBytes(postParams);
wr
.flush();
wr
.close();


reCAPTCHA Support

unread,
Mar 25, 2016, 1:53:52 PM3/25/16
to reCAPTCHA
Hello Vikas,

There is currently no limitation on the number hits or calls to reCAPTCHA. The best explanation is likely a slow connection on your end.

Regards,

--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+...@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at https://groups.google.com/group/recaptcha.
For more options, visit https://groups.google.com/d/optout.



--
reCAPTCHA: stop spam, read books
http://www.google.com/recaptcha

Sivagopal votigo

unread,
Oct 24, 2018, 12:57:29 PM10/24/18
to reCAPTCHA
Hi,

We are running a high volume promotion next week where the number of captcha solved will be around 1 million in 20 mins of time is there any problem with this. Do we need to inform support team regarding this spike?
Reply all
Reply to author
Forward
0 new messages