Open j0nes2k opened 4 years ago
We also have this issue, and like you says it's intermittent. It looks like this project might be dead though, it hasn't been updated since Dec 2017.
Hyper is no longer maintained so this is unlikely to be fixed even if it is a bug. If you're looking for a maintained HTTP/2-capable HTTP client I'd recommend HTTPX although HTTPX doesn't support non-TLS HTTP/2 negotiation.
https://github.com/python-hyper/hyper/issues/420#issuecomment-553429281 on Nov 13, 2019
I am using hyper v0.7.0 as a dependency from APNS2 lib (https://github.com/Pr0Ger/PyAPNs2/) for sending out push notifications to iOS devices. We have sporadic but reproducable issues when hyper hangs when POSTing to Apple.
Here is the stack trace when running this in the foreground and aborting finally via Ctrl-C. The call of hyper functions via apns2 happens here: https://github.com/Pr0Ger/PyAPNs2/blob/master/apns2/client.py#L145:
Here is the corresponding log output: