Traceback (most recent call last):


 "/Users/josh/Library/Python/2.7/bin/http", line 11, in <module>

sys.exit(main())


 "/Users/josh/Library/Python/2.7/lib/python/site-packages/httpie/__main__.py", line 11, in main

sys.exit(main())


 "/Users/josh/Library/Python/2.7/lib/python/site-packages/httpie/core.py", line 227, in main

log_error=log_error,


 "/Users/josh/Library/Python/2.7/lib/python/site-packages/httpie/core.py", line 99, in program

final_response = get_response(args, config_dir=env.config.directory)


 "/Users/josh/Library/Python/2.7/lib/python/site-packages/httpie/client.py", line 70, in get_response

response = requests_session.request(**kwargs)


 "/Library/Python/2.7/site-packages/requests/sessions.py", line 488, in request

resp = self.send(prep, **send_kwargs)


 "/Library/Python/2.7/site-packages/requests/sessions.py", line 609, in send

r = adapter.send(request, **kwargs)


 "/Library/Python/2.7/site-packages/requests/adapters.py", line 423, in send

timeout=timeout


 "/Library/Python/2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 594, in urlopen

chunked=chunked)


 "/Library/Python/2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 350, in _make_request

self._validate_conn(conn)


 "/Library/Python/2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 835, in _validate_conn

conn.connect()


 "/Library/Python/2.7/site-packages/requests/packages/urllib3/connection.py", line 330, in connect

cert = self.sock.getpeercert()


 "/Library/Python/2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 324, in getpeercert

'subjectAltName': get_subj_alt_name(x509)


 "/Library/Python/2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 166, in get_subj_alt_name

cert = _Certificate(openssl_backend, peer_cert._x509)
AttributeError: 'X509' object has no attribute '_x509'

Traceback (most recent call last):


 "./manage.py", line 21, in <module>

execute_from_command_line(sys.argv)


 "/srv/app/.env34/lib/python3.4/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line

utility.execute()


 "/srv/app/.env34/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/srv/app/.env34/lib/python3.4/site-packages/django/core/management/base.py", line 348, in run_from_argv

self.execute(*args, **cmd_options)


 "/srv/app/.env34/lib/python3.4/site-packages/django/core/management/base.py", line 399, in execute

output = self.handle(*args, **options)


 "/srv/app/.env34/lib/python3.4/site-packages/helpdesk/management/commands/get_email.py", line 69, in handle

process_email(quiet=quiet)


 "/srv/app/.env34/lib/python3.4/site-packages/helpdesk/management/commands/get_email.py", line 102, in process_email

process_queue(q, logger=logger)


 "/srv/app/.env34/lib/python3.4/site-packages/helpdesk/management/commands/get_email.py", line 188, in process_queue

int(q.email_box_port))


 "/usr/lib/python3.4/imaplib.py", line 182, in __init__

self.open(host, port)


 "/usr/lib/python3.4/imaplib.py", line 259, in open

self.file = self.sock.makefile('rb')
AttributeError: '_socket.socket' object has no attribute 'makefile'