[Samba] wiki returns ERR_HTTP2_PROTOCOL_ERROR

Jeremy Allison jra at samba.org
Mon Aug 16 22:02:15 UTC 2021


On Mon, Aug 16, 2021 at 02:58:45PM -0700, Jeremy Allison via samba wrote:
>>* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
>>* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
>>* old SSL session ID is stale, removing
>>* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
>>* http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [x-forwarded-proto:], value: [https]
>>* HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
>>* stopped the pause stream!
>>* Connection #0 to host wiki.samba.org left intact
>>curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
>>
>>so it looks like it might be a server problem somehow.
>
>Maybe this bug:
>
>https://www.rhymewithgravy.com/2016/08/23/Beware-the-Connection-Header-in-HTT-P.html
>
>"An endpoint MUST NOT generate an HTTP/2 message containing connection-specific header fields"

Yep, looks like an http2 proxy just passing through
headers from http1.

If I do:

curl -v --http1.1 https://wiki.samba.org

it works.



More information about the samba mailing list