Closed Mubelotix closed 1 month ago
Google's ingress servers tend to wrongly return a PROTOCOL_ERROR
if the host
header is also set in an HTTP/2 request. Try not setting the host
header.
(Note: it's definitely not supposed to be a PROTOCOL_ERROR, the HTTP/2 spec defines instances where it should be allowed. Google is of course allowed to reject anything they want, but it'd make more sense to reject with a 400 Bad Request and a message instead.)
Thank you, this is helpful. Didn't believe it could be google's fault
I have been experiencing a weird error nobody here seems to have encountered before when using h2.
It happens upon sending any request to youtube through a recently negotiated http2 connection. This error only happens on youtube.com for some reason, all other servers work fine.
I'm running hyper in the browser, compiled to
wasm32-unknown-unknown
. I'm using hyper_tls with ring, both with TLSv3 and TLSv2 enabled. I'm using the latest version (0.4.6) of this library with the default config at the exception ofmax_concurrent_reset_streams
which I had to set to 0 due to another bug in h2.