[issue22870] urlopen timeout failed with SSL socket

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Is this bug still relevant for you? -- nosy: +christian.heimes status: open -> pending ___ Python tracker ___

[issue22870] urlopen timeout failed with SSL socket

2014-11-17 Thread Dave Tian
Dave Tian added the comment: Alright. The issued URL of my case is here: www.5giay.vn Nor am I a ssl dev...Here is what happens after further debugging: PySSL_SSLread() returns 1/2 bytes without any error/timeout per call. readline() in socket.py keeps looping. Occasionally, it may break out

[issue22870] urlopen timeout failed with SSL socket

2014-11-15 Thread Dave Tian
Dave Tian added the comment: Hi David, Thanks for your quick response. I have tried Python 3.4.2 using urllib.request.urlopen() - still not working. Below is the backtrace. I am not sure if this is a bug of PySSL_SSLread, which returns nothing yet without timeout. If you want me to dig into

[issue22870] urlopen timeout failed with SSL socket

2014-11-15 Thread R. David Murray
R. David Murray added the comment: I won't be the one, as I'm not conversant with the ssl C code. What would be helpful right now would be a recipe for reproducing the problem. -- nosy: +alex, pitrou ___ Python tracker rep...@bugs.python.org

[issue22870] urlopen timeout failed with SSL socket

2014-11-14 Thread Dave Tian
New submission from Dave Tian: Hi there, Recent urlopen with timeout did not work. Below is the back trace. After digging into the Python lib, the root cause is found - within the socket.py, self._sock.recv(), under a 'while True' loop, tried to retrieve sth from the under-layer SSL socket.

[issue22870] urlopen timeout failed with SSL socket

2014-11-14 Thread R. David Murray
R. David Murray added the comment: It sounds like the bug is that PySSL_SSLread didn't raise the timeout? Any idea if this is still a problem in python3? (Could possibly have changed on trunk as well, as SSL is being updated in 2.7.9.) -- nosy: +r.david.murray