python-hyper / hyper

HTTP/2 for Python.
http://hyper.rtfd.org/en/latest/
MIT License
1.05k stars 191 forks source link

SSLError on delayed response #354

Closed ckiickA closed 6 years ago

ckiickA commented 6 years ago

Using hyper with requests requests==2.18.4 hyper==0.7.0

When I make a request that has a delayed response, I get an SSLError. For example, a GET to https://nghttp2.org/httpbin/delay/1 returns ssl.SSLError: ('The read operation timed out',) I have not set any timeouts on either the connection or stream (if that's even possible). The equivalent HTTP/1.1 request succeeds. Using curl --http2 also succeeds.

attached script reproduces the issue. bugreport.txt

Lukasa commented 6 years ago

Are you using hyper separately from requests, or as part of it?

ckiickA commented 6 years ago

I'm using it as part of requests. See the attachment for the script I used.

On Wed, Oct 25, 2017 at 1:18 PM, Cory Benfield notifications@github.com wrote:

Are you using hyper separately from requests, or as part of it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lukasa/hyper/issues/354#issuecomment-339422711, or mute the thread https://github.com/notifications/unsubscribe-auth/AMqffRe1cf9wRtwQFxwj24WXrZUh5Nxgks5sv3tigaJpZM4QFKJt .

-- Chris J. Kiick Senior Performance Engineer, Atlassian ckiick@atlassian.com

Lukasa commented 6 years ago

Ah, yeah, sorry. This is a known problem with the current release of hyper. It's fixed in the current master branch: I recommend installing from that hash right now.