[issue34438] do_handshake stuck in ssl.py

2018-08-20 Thread Christian Heimes
Christian Heimes added the comment: It's hard to say what the culprit is. A blocked handshake often indicates a network or a server problem. Either something went wrong between the client and the server or the server refuses to finalize the handshake. I suggest that you add a timeout and han

[issue34438] do_handshake stuck in ssl.py

2018-08-19 Thread David
New submission from David : Sometimes, rarely, API calls will get stuck indefinitely on ssl.py. Stack trace: response = json.loads(urllib.request.urlopen(req).read()) File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/li