{"action":"opened","issue":{"url":"https://api.github.com/repos/twonds/punjab/issues/63","repository_url":"https://api.github.com/repos/twonds/punjab","labels_url":"https://api.github.com/repos/twonds/punjab/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/twonds/punjab/issues/63/comments","events_url":"https://api.github.com/repos/twonds/punjab/issues/63/events","html_url":"https://github.com/twonds/punjab/issues/63","id":156096284,"number":63,"title":"Open SSL issue on local machine","user":{"login":"rvaibhav","id":2116433,"avatar_url":"https://avatars.githubusercontent.com/u/2116433?v=3","gravatar_id":"","url":"https://api.github.com/users/rvaibhav","html_url":"https://github.com/rvaibhav","followers_url":"https://api.github.com/users/rvaibhav/followers","following_url":"https://api.github.com/users/rvaibhav/following{/other_user}","gists_url":"https://api.github.com/users/rvaibhav/gists{/gist_id}","starred_url":"https://api.github.com/users/rvaibhav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvaibhav/subscriptions","organizations_url":"https://api.github.com/users/rvaibhav/orgs","repos_url":"https://api.github.com/users/rvaibhav/repos","events_url":"https://api.github.com/users/rvaibhav/events{/privacy}","received_events_url":"https://api.github.com/users/rvaibhav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-21T11:02:05Z","updated_at":"2016-05-21T11:02:05Z","closed_at":null,"body":"Hi,\r\n\r\nI update my macbook to El Capitan 10.11 and started facing this weird OpenSSL issue.\r\nIt was working before on Yosemite 10.5 properly.\r\n\r\nWhen I try and start the punjab connection manager I get the error as shown in the stacktrace below.\r\n\r\nStarting punjab connection manager now\r\n\r\nUnhandled Error\r\nTraceback (most recent call last):\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/application/app.py\", line 617, in run\r\n    runApp(config)\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/scripts/twistd.py\", line 25, in runApp\r\n    _SomeApplicationRunner(config).run()\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/application/app.py\", line 348, in run\r\n    self.application = self.createOrGetApplication()\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/application/app.py\", line 413, in createOrGetApplication\r\n    application = getApplication(self.config, passphrase)\r\n--- <exception caught here> ---\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/application/app.py\", line 424, in getApplication\r\n    application = service.loadApplication(filename, style, passphrase)\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/application/service.py\", line 411, in loadApplication\r\n    passphrase)\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/persisted/sob.py\", line 207, in loadValueFromFile\r\n    eval(codeObj, d, d)\r\n  File \"punjab.tac\", line 4, in <module>\r\n    from twisted.web import server, resource, static\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/web/server.py\", line 36, in <module>\r\n    from twisted.web import iweb, http, util\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/web/http.py\", line 92, in <module>\r\n    from twisted.internet import interfaces, reactor, protocol, address\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/internet/reactor.py\", line 38, in <module>\r\n    from twisted.internet import default\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/internet/default.py\", line 56, in <module>\r\n    install = _getInstallFunction(platform)\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/internet/default.py\", line 50, in _getInstallFunction\r\n    from twisted.internet.selectreactor import install\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/internet/selectreactor.py\", line 18, in <module>\r\n    from twisted.internet import posixbase\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/internet/posixbase.py\", line 18, in <module>\r\n    from twisted.internet import error, udp, tcp\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/internet/tcp.py\", line 29, in <module>\r\n    from twisted.internet._newtls import (\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/internet/_newtls.py\", line 21, in <module>\r\n    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol\r\n  File \"/Library/Python/2.7/site-packages/Twisted-15.4.0-py2.7-macosx-10.10-intel.egg/twisted/protocols/tls.py\", line 41, in <module>\r\n    from OpenSSL.SSL import Error, ZeroReturnError, WantReadError\r\n  File \"/Users/vaibhavr/environment/pyOpenSSL-0.15.1/OpenSSL/__init__.py\", line 8, in <module>\r\n    from OpenSSL import rand, crypto, SSL\r\n  File \"/Users/vaibhavr/environment/pyOpenSSL-0.15.1/OpenSSL/rand.py\", line 11, in <module>\r\n    from OpenSSL._util import (\r\n  File \"/Users/vaibhavr/environment/pyOpenSSL-0.15.1/OpenSSL/_util.py\", line 6, in <module>\r\n    from cryptography.hazmat.bindings.openssl.binding import Binding\r\n  File \"/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 182, in <module>\r\n    Binding.init_static_locks()\r\n  File \"/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 139, in init_static_locks\r\n    cls._ensure_ffi_initialized()\r\n  File \"/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 134, in _ensure_ffi_initialized\r\n    cls._register_osrandom_engine()\r\n  File \"/Library/Python/2.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  File \"/Library/Python/2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py\", line 43, in _openssl_assert\r\n    errors\r\ncryptography.exceptions.InternalError: Unknown OpenSSL error. Please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this.\r\n\r\n\r\nFailed to load application: Unknown OpenSSL error. Please file an issue at https://github.com/pyca/cryptography/issues with information on how to reproduce this.\r\n\r\nHas somebody else faced this issue?"}}
{"actor":{"display_login":"rvaibhav"}}