[issue40018] test_ssl fails with OpenSSL 1.1.1e
Benjamin Peterson
report at bugs.python.org
Thu Mar 19 16:55:46 EDT 2020
New submission from Benjamin Peterson <benjamin at python.org>:
======================================================================
ERROR: test_ciphers (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 2120, in test_ciphers
s.connect(self.server_addr)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1333, in _real_connect
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_connect (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 1944, in test_connect
s.connect(self.server_addr)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1333, in _real_connect
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_connect_cadata (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 2062, in test_connect_cadata
s.connect(self.server_addr)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1333, in _real_connect
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_connect_capath (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 2041, in test_connect_capath
s.connect(self.server_addr)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1333, in _real_connect
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_connect_with_context (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 2002, in test_connect_with_context
s.connect(self.server_addr)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1333, in _real_connect
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_get_server_certificate (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 2107, in test_get_server_certificate
_test_get_server_certificate(self, *self.server_addr, cert=SIGNING_CA)
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 2272, in _test_get_server_certificate
pem = ssl.get_server_certificate((host, port), ca_certs=cert)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1484, in get_server_certificate
with context.wrap_socket(sock) as sslsock:
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_session_handling (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 4346, in test_session_handling
s.connect((HOST, server.port))
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1333, in _real_connect
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
======================================================================
ERROR: test_tls_unique_channel_binding (test.test_ssl.ThreadedTests)
Test tls-unique channel binding.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/benjamin/repos/cpython/Lib/test/test_ssl.py", line 3922, in test_tls_unique_channel_binding
s.connect((HOST, server.port))
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1333, in _real_connect
self.do_handshake()
File "/home/benjamin/repos/cpython/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------------------------------------
----------
assignee: christian.heimes
components: SSL
messages: 364638
nosy: benjamin.peterson, christian.heimes
priority: normal
severity: normal
status: open
title: test_ssl fails with OpenSSL 1.1.1e
versions: Python 2.7, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40018>
_______________________________________
More information about the Python-bugs-list
mailing list