[issue19057] Sometimes urllib2 raises URLError when trying POST with httpS

R. David Murray report at bugs.python.org
Fri Sep 20 14:55:52 CEST 2013


R. David Murray added the comment:

I would guess that if you did a network trace you'd find out there really was a packet that did not arrive (a timeout).  Note that detecting this is complicated by the fact that ssl is involved.  (I don't know the details, but I remember someone saying that more than one packet may be involved in something that looks like a single event at the OpenSSL level.)

It is certainly *possible* that there is a bug at the OpenSSL or (less likely) the _ssl module level, but the first step in debugging it would be to get that network trace, I think...

As I said, though, I'm not an expert in this area, perhaps someone who is will have other suggestions.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19057>
_______________________________________


More information about the Python-bugs-list mailing list