{"action":"created","issue":{"url":"https://api.github.com/repos/pyca/cryptography/issues/2471","labels_url":"https://api.github.com/repos/pyca/cryptography/issues/2471/labels{/name}","comments_url":"https://api.github.com/repos/pyca/cryptography/issues/2471/comments","events_url":"https://api.github.com/repos/pyca/cryptography/issues/2471/events","html_url":"https://github.com/pyca/cryptography/issues/2471","id":115748480,"number":2471,"title":"Unkown OpenSSL Error","user":{"login":"chriscalitz","id":945152,"avatar_url":"https://avatars.githubusercontent.com/u/945152?v=3","gravatar_id":"","url":"https://api.github.com/users/chriscalitz","html_url":"https://github.com/chriscalitz","followers_url":"https://api.github.com/users/chriscalitz/followers","following_url":"https://api.github.com/users/chriscalitz/following{/other_user}","gists_url":"https://api.github.com/users/chriscalitz/gists{/gist_id}","starred_url":"https://api.github.com/users/chriscalitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriscalitz/subscriptions","organizations_url":"https://api.github.com/users/chriscalitz/orgs","repos_url":"https://api.github.com/users/chriscalitz/repos","events_url":"https://api.github.com/users/chriscalitz/events{/privacy}","received_events_url":"https://api.github.com/users/chriscalitz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyca/cryptography/labels/bindings","name":"bindings","color":"fef2c0"},{"url":"https://api.github.com/repos/pyca/cryptography/labels/bugs","name":"bugs","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-11-08T17:47:33Z","updated_at":"2015-12-23T19:45:50Z","closed_at":null,"body":"So I'm getting the following errors on Ubuntu server with Python 2.7 installed in Virtualenv.\r\n\r\nOpenSSL 1.0.1 14 Mar 2012\r\nPython 2.7.3\r\n\r\nIt seems to be very intermitted and I'm yet to find the comman thing which causes this issue.\r\n\r\nAny ideas?\r\n```\r\nTraceback (most recent call last): \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/core/handlers/base.py\", line 92, in get_response \r\nresponse = middleware_method(request) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/middleware/locale.py\", line 21, in process_request \r\ncheck_path = self.is_language_prefix_patterns_used() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/middleware/locale.py\", line 56, in is_language_prefix_patterns_used \r\nfor url_pattern in get_resolver(None).url_patterns: \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/core/urlresolvers.py\", line 347, in url_patterns \r\npatterns = getattr(self.urlconf_module, \"urlpatterns\", self.urlconf_module) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/core/urlresolvers.py\", line 342, in urlconf_module \r\nself._urlconf_module = import_module(self.urlconf_name) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/utils/importlib.py\", line 35, in import_module \r\n__import__(name) \r\n\r\nFile \"/var/www/example.com/htdocs/community/urls.py\", line 14, in <module> \r\nadmin.autodiscover() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/contrib/admin/__init__.py\", line 29, in autodiscover \r\nimport_module('%s.admin' % app) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/django/utils/importlib.py\", line 35, in import_module \r\n__import__(name) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/djcelery/admin.py\", line 295, in <module> \r\nclass PeriodicTaskAdmin(admin.ModelAdmin): \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/djcelery/admin.py\", line 297, in PeriodicTaskAdmin \r\nform = periodic_task_form() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/djcelery/admin.py\", line 251, in periodic_task_form \r\ncurrent_app.loader.import_default_modules() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/djcelery/loaders.py\", line 140, in import_default_modules \r\nsuper(DjangoLoader, self).import_default_modules() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/celery/loaders/base.py\", line 121, in import_default_modules \r\ntuple(maybe_list(self.app.conf.CELERY_INCLUDE)) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/celery/loaders/base.py\", line 103, in import_task_module \r\nreturn self.import_from_cwd(module) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/celery/loaders/base.py\", line 112, in import_from_cwd \r\npackage=package, \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/celery/utils/imports.py\", line 101, in import_from_cwd \r\nreturn imp(module, package=package) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/celery/loaders/base.py\", line 106, in import_module \r\nreturn importlib.import_module(module, package=package) \r\n\r\nFile \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module \r\n__import__(name) \r\n\r\nFile \"/var/www/example.com/htdocs/community/overview/tasks.py\", line 23, in <module> \r\nfrom community.overview.views import savePeopleChanges \r\n\r\nFile \"/var/www/example.com/htdocs/community/overview/views.py\", line 26, in <module> \r\nfrom community.gdrive.files import insert_file \r\n\r\nFile \"/var/www/example.com/htdocs/community/gdrive/files.py\", line 4, in <module> \r\nfrom apiclient import errors \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/apiclient/__init__.py\", line 19, in <module> \r\nfrom googleapiclient import discovery \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/googleapiclient/discovery.py\", line 68, in <module> \r\nfrom oauth2client.client import GoogleCredentials \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/oauth2client/client.py\", line 53, in <module> \r\nfrom oauth2client import crypt \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/oauth2client/crypt.py\", line 45, in <module> \r\nfrom oauth2client._openssl_crypt import OpenSSLVerifier \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/oauth2client/_openssl_crypt.py\", line 18, in <module> \r\nfrom OpenSSL import crypto \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/OpenSSL/__init__.py\", line 8, in <module> \r\nfrom OpenSSL import rand, crypto, SSL \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/OpenSSL/rand.py\", line 11, in <module> \r\nfrom OpenSSL._util import ( \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/OpenSSL/_util.py\", line 6, in <module> \r\nfrom cryptography.hazmat.bindings.openssl.binding import Binding \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 182, in <module> \r\nBinding.init_static_locks() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 139, in init_static_locks \r\ncls._ensure_ffi_initialized() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 134, in _ensure_ffi_initialized \r\ncls._register_osrandom_engine() \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 99, in _register_osrandom_engine \r\n_openssl_assert(cls.lib, cls.lib.ERR_peek_error() == 0) \r\n\r\nFile \"/home/username/.virtualenvs/env/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 43, in _openssl_assert \r\nerrors \r\n\r\nInternalError: Unknown OpenSSL error. Please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this. \r\n```"},"comment":{"url":"https://api.github.com/repos/pyca/cryptography/issues/comments/166978326","html_url":"https://github.com/pyca/cryptography/issues/2471#issuecomment-166978326","issue_url":"https://api.github.com/repos/pyca/cryptography/issues/2471","id":166978326,"user":{"login":"jeremycline","id":1977525,"avatar_url":"https://avatars.githubusercontent.com/u/1977525?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremycline","html_url":"https://github.com/jeremycline","followers_url":"https://api.github.com/users/jeremycline/followers","following_url":"https://api.github.com/users/jeremycline/following{/other_user}","gists_url":"https://api.github.com/users/jeremycline/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremycline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremycline/subscriptions","organizations_url":"https://api.github.com/users/jeremycline/orgs","repos_url":"https://api.github.com/users/jeremycline/repos","events_url":"https://api.github.com/users/jeremycline/events{/privacy}","received_events_url":"https://api.github.com/users/jeremycline/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T19:45:50Z","updated_at":"2015-12-23T19:45:50Z","body":"@dkliban 1.0.2 is the current version in F23. It looks like that's being bumped to 1.1 in F24: https://apps.fedoraproject.org/packages/python-cryptography/builds/"}}