recaptcha timeout issues

995 views
Skip to first unread message

Anand Kumria

unread,
Oct 24, 2011, 5:45:55 AM10/24/11
to reCAPTCHA
Hi,

I am using the Python interface to recaptcha and am experiencing
timeout issues:

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/Django-1.2.7-py2.6.egg/django/
core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.6/site-packages/Django-1.2.7-py2.6.egg/django/
utils/decorators.py", line 76, in _wrapped_view
response = view_func(request, *args, **kwargs)

File "/usr/lib/python2.6/site-packages/Django-1.2.7-py2.6.egg/django/
views/decorators/http.py", line 36, in inner
return func(request, *args, **kwargs)

File "redacted/views.py", line 86, in post_comment
res = captcha.submit(challenge, response,
settings.RECAPTCHA_PRIVATE, request.META['REMOTE_ADDR'])

File "redacted/recaptcha/client/captcha.py", line 84, in submit
httpresp = urllib2.urlopen (request)

File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)

File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)

File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)

File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)

File "/usr/lib64/python2.6/urllib2.py", line 1161, in http_open
return self.do_open(httplib.HTTPConnection, req)

File "/usr/lib64/python2.6/urllib2.py", line 1136, in do_open
raise URLError(err)

URLError: <urlopen error [Errno 110] Connection timed out>

What is the best way to mitigate against this.

Is anyone else experiencing this?

Regards,
Anand

Adrian Godong

unread,
Oct 24, 2011, 12:36:46 PM10/24/11
to reca...@googlegroups.com, reCAPTCHA
Is this new setup or ongoing? Looks like firewall issue to me. Check that you have port 80 outbound from your backend server.

---
Adrian Godong

> --
> You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
> To post to this group, send email to reca...@googlegroups.com.
> To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.
>

Anand Kumria

unread,
Oct 25, 2011, 6:47:48 AM10/25/11
to reCAPTCHA

The setup is new, but what I've observed is that captcha submission
times out when attempting to verify the captcha (sometimes, about 10%
of the time).

Other times it works perfectly fine.

Anand

On Oct 24, 5:36 pm, Adrian Godong <adrian.god...@gmail.com> wrote:
> Is this new setup or ongoing? Looks like firewall issue to me. Check that you have port 80 outbound from your backend server.
>
> ---
> Adrian Godong
>
Reply all
Reply to author
Forward
0 new messages