Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

facebook login - ssl error

My askbot website has been working fine for a long time. Now, suddenly I got the following error

urlopen error _ssl.c:489: The handshake operation timed out

Does someone know the reason, and how I can fix it?

facebook login - ssl error

My askbot website has been working fine for a long time. Now, suddenly I got the following error

urlopen error _ssl.c:489: The handshake operation timed out

Does someone know the reason, and how I can fix it?

Environment:

Request Method: GET Request URL: http://XXXXX.COM/account/signin/complete-oauth2/?code=AQCpHNetj-i7kqMahAgunhyxQR1DdhIhkFTNEqwbZUUD9ioW7yqlZHEkGMHecEAJRHkNEOEUbp1D0goj8GIKeYhpympuaG3ApV3eftNHr3wc25VVdKBssY_yVk_rqZaK00i51jsRH13aW-QpQne42F4GHDFvx834bezcnI8xD7YhDN5DTpI6PzWDMHYcdky9TA4OItQI6pgYkalts8xAXEyqCa-vfpbrCPlNcHULfveOMImZe-nqVjxQNtvTiQf9Nh5ynp4tdJVvqMzxk_K7JFF7KBMgKrk12YJ27NrdJhaUPOwuuvQZRDPojip0CVxVfOmEwRkfUc6nSN0rk1FqXeml&state=e0ccd65d5ee4d2ad13081c9f2685c02c6a65b2712ee81ba17137699b5b9ec1a6

Django Version: 1.5 Python Version: 2.7.3 Installed Applications: ('longerusername', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.sitemaps', 'django.contrib.messages', 'compressor', 'askbot', 'askbot.deps.django_authopenid', 'south', 'askbot.deps.livesettings', 'keyedcache', 'robots', 'django_countries', 'djcelery', 'djkombu', 'followit', 'tinymce', 'group_messaging', 'avatar') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware', 'askbot.middleware.forum_mode.ForumModeMiddleware', 'askbot.middleware.cancel.CancelActionMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'askbot.middleware.view_log.ViewLogMiddleware', 'askbot.middleware.spaceless.SpacelessMiddleware')

Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 115. response = callback(request, callback_args, *callback_kwargs) File "/usr/local/lib/python2.7/dist-packages/askbot/deps/django_authopenid/views.py" in complete_oauth2_signin 311. parser=params['response_parser'] File "/usr/local/lib/python2.7/dist-packages/sanction/client.py" in request_token 113. 'utf-8')) File "/usr/lib/python2.7/urllib2.py" in urlopen 127. return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py" in open 401. response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py" in _open 419. '_open', req) File "/usr/lib/python2.7/urllib2.py" in _call_chain 379. result = func(*args) File "/usr/lib/python2.7/urllib2.py" in https_open 1219. return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py" in do_open 1181. raise URLError(err)

Exception Type: URLError at /account/signin/complete-oauth2/ Exception Value: <urlopen error="" _ssl.c:489:="" the="" handshake="" operation="" timed="" out="">

facebook login - ssl error

My askbot website has been working fine for a long time. Now, suddenly I got the following error

urlopen error _ssl.c:489: The handshake operation timed out

Does someone know the reason, and how I can fix it?

====

Environment:

Request Method: GET
Request URL: http://XXXXX.COM/account/signin/complete-oauth2/?code=AQCpHNetj-i7kqMahAgunhyxQR1DdhIhkFTNEqwbZUUD9ioW7yqlZHEkGMHecEAJRHkNEOEUbp1D0goj8GIKeYhpympuaG3ApV3eftNHr3wc25VVdKBssY_yVk_rqZaK00i51jsRH13aW-QpQne42F4GHDFvx834bezcnI8xD7YhDN5DTpI6PzWDMHYcdky9TA4OItQI6pgYkalts8xAXEyqCa-vfpbrCPlNcHULfveOMImZe-nqVjxQNtvTiQf9Nh5ynp4tdJVvqMzxk_K7JFF7KBMgKrk12YJ27NrdJhaUPOwuuvQZRDPojip0CVxVfOmEwRkfUc6nSN0rk1FqXeml&state=e0ccd65d5ee4d2ad13081c9f2685c02c6a65b2712ee81ba17137699b5b9ec1a6

http://XXXXX.COM/account/signin/complete-oauth2/?code=AQCpHNetj-i7kqMahAgunhyxQR1DdhIhkFTNEqwbZUUD9ioW7yqlZHEkGMHecEAJRHkNEOEUbp1D0goj8GIKeYhpympuaG3ApV3eftNHr3wc25VVdKBssY_yVk_rqZaK00i51jsRH13aW-QpQne42F4GHDFvx834bezcnI8xD7YhDN5DTpI6PzWDMHYcdky9TA4OItQI6pgYkalts8xAXEyqCa-vfpbrCPlNcHULfveOMImZe-nqVjxQNtvTiQf9Nh5ynp4tdJVvqMzxk_K7JFF7KBMgKrk12YJ27NrdJhaUPOwuuvQZRDPojip0CVxVfOmEwRkfUc6nSN0rk1FqXeml&state=e0ccd65d5ee4d2ad13081c9f2685c02c6a65b2712ee81ba17137699b5b9ec1a6 Django Version: 1.5 Python Version: 2.7.3 Installed Applications: ('longerusername', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.sitemaps', 'django.contrib.messages', 'compressor', 'askbot', 'askbot.deps.django_authopenid', 'south', 'askbot.deps.livesettings', 'keyedcache', 'robots', 'django_countries', 'djcelery', 'djkombu', 'followit', 'tinymce', 'group_messaging', 'avatar') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware', 'askbot.middleware.forum_mode.ForumModeMiddleware', 'askbot.middleware.cancel.CancelActionMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'askbot.middleware.view_log.ViewLogMiddleware', 'askbot.middleware.spaceless.SpacelessMiddleware')

'askbot.middleware.spaceless.SpacelessMiddleware') Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 115. response = callback(request, callback_args, *callback_kwargs) *callback_args, **callback_kwargs) File "/usr/local/lib/python2.7/dist-packages/askbot/deps/django_authopenid/views.py" in complete_oauth2_signin 311. parser=params['response_parser'] File "/usr/local/lib/python2.7/dist-packages/sanction/client.py" in request_token 113. 'utf-8')) File "/usr/lib/python2.7/urllib2.py" in urlopen 127. return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py" in open 401. response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py" in _open 419. '_open', req) File "/usr/lib/python2.7/urllib2.py" in _call_chain 379. result = func(*args) File "/usr/lib/python2.7/urllib2.py" in https_open 1219. return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py" in do_open 1181. raise URLError(err)

URLError(err) Exception Type: URLError at /account/signin/complete-oauth2/ Exception Value: <urlopen error="" _ssl.c:489:="" the="" handshake="" operation="" timed="" out="">

error _ssl.c:489: The handshake operation timed out>

facebook login - ssl error

My askbot website has been working fine for a long time. Now, suddenly I got the following error

urlopen error _ssl.c:489: The handshake operation timed out

Does someone know the reason, and how I can fix it?

====

Environment:

Request Method: GET
Request URL: http://XXXXX.COM/account/signin/complete-oauth2/?code=AQCpHNetj-i7kqMahAgunhyxQR1DdhIhkFTNEqwbZUUD9ioW7yqlZHEkGMHecEAJRHkNEOEUbp1D0goj8GIKeYhpympuaG3ApV3eftNHr3wc25VVdKBssY_yVk_rqZaK00i51jsRH13aW-QpQne42F4GHDFvx834bezcnI8xD7YhDN5DTpI6PzWDMHYcdky9TA4OItQI6pgYkalts8xAXEyqCa-vfpbrCPlNcHULfveOMImZe-nqVjxQNtvTiQf9Nh5ynp4tdJVvqMzxk_K7JFF7KBMgKrk12YJ27NrdJhaUPOwuuvQZRDPojip0CVxVfOmEwRkfUc6nSN0rk1FqXeml&state=e0ccd65d5ee4d2ad13081c9f2685c02c6a65b2712ee81ba17137699b5b9ec1a6

Django Version: 1.5
Python Version: 2.7.3
Installed Applications:
('longerusername',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'django.contrib.humanize',
 'django.contrib.sitemaps',
 'django.contrib.messages',
 'compressor',
 'askbot',
 'askbot.deps.django_authopenid',
 'south',
 'askbot.deps.livesettings',
 'keyedcache',
 'robots',
 'django_countries',
 'djcelery',
 'djkombu',
 'followit',
 'tinymce',
 'group_messaging',
 'avatar')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware',
 'askbot.middleware.forum_mode.ForumModeMiddleware',
 'askbot.middleware.cancel.CancelActionMiddleware',
 'django.middleware.transaction.TransactionMiddleware',
 'askbot.middleware.view_log.ViewLogMiddleware',
 'askbot.middleware.spaceless.SpacelessMiddleware')


Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  115.                         response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/askbot/deps/django_authopenid/views.py" in complete_oauth2_signin
  311.         parser=params['response_parser']
File "/usr/local/lib/python2.7/dist-packages/sanction/client.py" in request_token
  113.             'utf-8'))
File "/usr/lib/python2.7/urllib2.py" in urlopen
  127.     return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py" in open
  401.         response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py" in _open
  419.                                   '_open', req)
File "/usr/lib/python2.7/urllib2.py" in _call_chain
  379.             result = func(*args)
File "/usr/lib/python2.7/urllib2.py" in https_open
  1219.             return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py" in do_open
  1181.             raise URLError(err)

Exception Type: URLError at /account/signin/complete-oauth2/
Exception Value: <urlopen error _ssl.c:489: The handshake operation timed out>