New submission from joseph...@yahoo.com <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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35324>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to