[issue10327] Abnormal SSL timeouts when using socket timeouts - once again

Antoine Pitrou report at bugs.python.org
Fri Nov 5 15:53:07 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> When using socket timeouts (eg. with socket.setdefaulttimeout()),
> whatever the timeout I use (eg. 10 seconds), I begin having random
> "SSLError: The read operation timed out" exceptions in my http calls,
> via urlopen or 3rd party libraries.

Well, this isn't a random error. It just signals that the timeout has expired. It's a pity that it raises SSLError rather than socket.timeout, though.

Or are you saying that the exception is raised too early? If so, it would be nice to have a way of reproducing.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list