[New-bugs-announce] [issue31122] SSLContext.wrap_socket() throws OSError with errno == 0
Nikolaus Rath
report at bugs.python.org
Fri Aug 4 15:16:41 EDT 2017
New submission from Nikolaus Rath:
With a particularly atrocious network connection, I often get the following exception:
File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 503, in connect
self._sock = self.ssl_context.wrap_socket(self._sock, server_hostname=server_hostname)
File "/usr/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/usr/lib/python3.5/ssl.py", line 760, in __init__
self.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
I don't think an error with errno == 0 should ever be raised by Python.
----------
assignee: christian.heimes
components: SSL
messages: 299759
nosy: christian.heimes, nikratio
priority: normal
severity: normal
status: open
title: SSLContext.wrap_socket() throws OSError with errno == 0
type: behavior
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31122>
_______________________________________
More information about the New-bugs-announce
mailing list