You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running into an issue where our urllib2 verification request is timing out, despite our having set a high value for RECAPTCHA_VERIFY_REQUEST_TIMEOUT. Can you offer any insight?
Traceback:
`
Internal Server Error: /insurance/enroll/hps-private-exchange-qle/
timeout at /insurance/enroll/hps-private-exchange-qle/
The read operation timed out
This discussion was converted from issue #193 on January 26, 2022 21:47.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are running into an issue where our urllib2 verification request is timing out, despite our having set a high value for RECAPTCHA_VERIFY_REQUEST_TIMEOUT. Can you offer any insight?
Traceback:
`
Internal Server Error: /insurance/enroll/hps-private-exchange-qle/
timeout at /insurance/enroll/hps-private-exchange-qle/
The read operation timed out
Request Method: POST
Request URL: https://www.freelancersunion.org/insurance/enroll/hps-private-exchange-qle/
Django Version: 2.2.3
Python Executable: /srv/www/fuweb/.venv/bin/uwsgi
Python Version: 3.7.3
Python Path: ['/srv/www/fuweb/', '.', '', '/srv/www/fuweb/.venv/lib/python37.zip', '/srv/www/fuweb/.venv/lib/python3.7', '/srv/www/fuweb/.venv/lib/python3.7/lib-dynload', '/usr/lib/python3.7', '/srv/www/fuweb/.venv/lib/python3.7/site-packages', '/srv/www/fuweb', '/srv/www/fuweb/.venv/lib/python3.7/site-packages/odf', '/srv/www/fuweb/.venv/lib/python3.7/site-packages/odf', '/srv/www/fuweb/.venv/lib/python3.7/site-packages/odf', '/srv/www/fuweb/.venv/lib/python3.7/site-packages/odf', '/srv/www/fuweb/.venv/lib/python3.7/site-packages/odf', '/srv/www/fuweb/.venv/lib/python3.7/site-packages/odf', '/srv/www/fuweb/.venv/lib/python3.7/site-packages/odf']
Server time: Mon, 5 Aug 2019 12:44:28 -0400
Installed Applications:
['fuweb.admin.AdminConfig',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'admin_reorder',
'captcha',
'django_extensions',
'django_inlinecss',
'django_rq',
'django_ses',
'import_export',
'localflavor',
'modelcluster',
'phonenumber_field',
'scheduler',
'svg',
'taggit',
'wagtail.contrib.forms',
'wagtail.contrib.modeladmin',
'wagtail.contrib.postgres_search',
'wagtail.contrib.redirects',
'wagtail.contrib.routable_page',
'wagtail.contrib.settings',
'wagtail.core',
'wagtail.documents',
'wagtail.embeds',
'wagtail.images',
'wagtail.search',
'wagtail.sites',
'wagtail.snippets',
'wagtail.users',
'wagtailfontawesome',
'fuweb',
'fuweb.accounts',
'fuweb.cms',
'fuweb.common',
'fuweb.insurance',
'wagtail.admin']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'wagtail.core.middleware.SiteMiddleware',
'wagtail.contrib.redirects.middleware.RedirectMiddleware',
'fuweb.common.middlewares.admin_reorder.ModelAdminReorder']
Traceback:
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/wagtail/core/views.py" in serve
24. return page.serve(request, *args, **kwargs)
File "/srv/www/fuweb/fuweb/cms/models/pages/insurance.py" in serve
387. if request.method == 'POST' and form.is_valid():
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/forms/forms.py" in is_valid
185. return self.is_bound and not self.errors
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/forms/forms.py" in errors
180. self.full_clean()
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/forms/forms.py" in full_clean
381. self._clean_fields()
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/forms/forms.py" in _clean_fields
399. value = field.clean(value)
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/django/forms/fields.py" in clean
149. self.validate(value)
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/captcha/fields.py" in validate
76. remoteip=self.get_remote_ip(),
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/captcha/client.py" in submit
65. response = recaptcha_request(params)
File "/srv/www/fuweb/.venv/lib/python3.7/site-packages/captcha/client.py" in recaptcha_request
43. timeout=getattr(settings, "RECAPTCHA_VERIFY_REQUEST_TIMEOUT", 10)
File "/usr/lib/python3.7/urllib/request.py" in open
525. response = self._open(req, data)
File "/usr/lib/python3.7/urllib/request.py" in _open
543. '_open', req)
File "/usr/lib/python3.7/urllib/request.py" in _call_chain
503. result = func(*args)
File "/usr/lib/python3.7/urllib/request.py" in https_open
1360. context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.7/urllib/request.py" in do_open
1320. r = h.getresponse()
File "/usr/lib/python3.7/http/client.py" in getresponse
1321. response.begin()
File "/usr/lib/python3.7/http/client.py" in begin
296. version, status, reason = self._read_status()
File "/usr/lib/python3.7/http/client.py" in _read_status
257. line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.7/socket.py" in readinto
589. return self._sock.recv_into(b)
File "/usr/lib/python3.7/ssl.py" in recv_into
1052. return self.read(nbytes, buffer)
File "/usr/lib/python3.7/ssl.py" in read
911. return self._sslobj.read(len, buffer)
Exception Type: timeout at /insurance/enroll/hps-private-exchange-qle/
Exception Value: The read operation timed out
Request information:
USER: AnonymousUser
GET: No GET data
POST:
csrfmiddlewaretoken = 'HTsKzsLW1XHKS7wSaCba4yBLguAEacNNvuwnEswX4ZExZG60j2lN0AHNiCH3ur2W'
first_name = *********
last_name = *************
email_address = ***********
phone_number = ***************
zip_code = ****************
become_member = *******************
g-recaptcha-response = '03AOLTBLQI45Sz9jfex4AnkZLrt3hGPqiGvw2O60cSIrwpho1YGif0dWaL2jELOjsDxc5p9x9DB_vJFXwXn94cCyp-GUMviV_8Qkj7-cj1belkTjwyPgEJz3XicCTecSC71WAyb-SADW6cAwyuW0lSh4FhPBF7VZZOl6o2uOgd8wVq6--zKzqTN2YB0arF0tKXFjnYoS-PJKRxMG0277uPW6V-BzR7IZX29b38o_ylV0ojnYTLwxo4abKMwAo-O-TrPGy_74Z9v2ktsl7N1R7jaTACagq9g2ISbbBA2E2aQaEn98J3yDYUky4r8BkvZUhQ3830WsQVK7Cp-HfLg4D9sfdmTxLRT63EYg'
RECAPTCHA_PRIVATE_KEY = ''
RECAPTCHA_PUBLIC_KEY = ''
RECAPTCHA_VERIFICATION_URL = 'https://www.google.com/recaptcha/api/siteverify'
RECAPTCHA_VERIFY_REQUEST_TIMEOUT = 30
`
Beta Was this translation helpful? Give feedback.
All reactions