[issue35324] ssl: FileNotFoundError when do handshake

2020-10-21 Thread Christian Heimes


Christian Heimes  added the comment:

I'm not able to reproduce the issue. Please re-open this issue if you are still 
having issue with more recent version of Python and OpenSSL.

--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35324] ssl: FileNotFoundError when do handshake

2018-12-20 Thread Windson Yang


Windson Yang  added the comment:

>From the docs

Changed in version 3.7: Hostname or IP address is matched by OpenSSL during 
handshake. The function match_hostname() is no longer used. In case OpenSSL 
refuses a hostname or IP address, the handshake is aborted early and a TLS 
alert message is send to the peer.

I guess OpenSSL refuse your IP address and port.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35324] ssl: FileNotFoundError when do handshake

2018-12-07 Thread Windson Yang


Windson Yang  added the comment:

I can't reproduce on my laptop. Would you please upload a minimal example?

--
nosy: +Windson Yang

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35324] ssl: FileNotFoundError when do handshake

2018-11-26 Thread joseph...@yahoo.com


New submission from joseph...@yahoo.com :

After upgrade my python from 3.6 to 3.7, one of my program got following error 
msgs and I suppose it is related to the 'ssl' module:

Traceback (most recent call last):
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py", 
line 600, in urlopen
chunked=chunked)
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py", 
line 343, in _make_request
self._validate_conn(conn)
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py", 
line 839, in _validate_conn
conn.connect()
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connection.py", 
line 344, in connect
ssl_context=context)
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\util\ssl_.py", line 
357, in ssl_wrap_socket
return context.wrap_socket(sock)
  File "f:\Anaconda3\Lib\ssl.py", line 412, in wrap_socket
session=session
  File "f:\Anaconda3\Lib\ssl.py", line 853, in _create
self.do_handshake()
  File "f:\Anaconda3\Lib\ssl.py", line 1117, in do_handshake
self._sslobj.do_handshake()
FileNotFoundError: [Errno 2] No such file or directory

The background is, the program works all fine under python 3.6.

I actually use the 'requests' lib which use the 'urllib3' inside. I don't know 
how to fix this so I just report here. I hope some one can help.

--
assignee: christian.heimes
components: SSL
messages: 330491
nosy: christian.heimes, joseph...@yahoo.com
priority: normal
severity: normal
status: open
title: ssl: FileNotFoundError when do handshake
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com