pyopenssl icon indicating copy to clipboard operation
pyopenssl copied to clipboard

`test_set_default_verify_paths` failing

Open unspecd opened this issue 3 years ago • 1 comments

        client = socket_any_family()
        client.connect(("encrypted.google.com", 443))
        clientSSL = Connection(context, client)
        clientSSL.set_connect_state()
        clientSSL.set_tlsext_host_name(b"encrypted.google.com")
        clientSSL.do_handshake()
        clientSSL.send(b"GET / HTTP/1.0\r\n\r\n")
>       assert clientSSL.recv(1024)

tests/test_ssl.py:1308: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
build-3.10/lib/OpenSSL/SSL.py:1774: in recv
    self._raise_ssl_error(self._ssl, result)

Possible reason:

$ curl -s https://encrypted.google.com:443 | wc -c
220

unspecd avatar Dec 30 '21 17:12 unspecd

Please provide more information on how to reproduce this, the test passes in CI as recently as a week ago: https://github.com/pyca/pyopenssl/actions/runs/1617209182 and passes on my machine right now.

alex avatar Dec 30 '21 17:12 alex

Since this could not be reproduced and the CI tests have been working, I think it can be closed @alex @mhils

facutuesca avatar Oct 02 '23 11:10 facutuesca