25-Feb-2020 10:25
We have a request by an application team to enable HTTP/2 protocol to their Virtual Servers. We were able to configure and apply it to the Non-Production Virtual servers, but when I attempted to apply the same HTTP/2 protocol to the Production Virtual Servers, it failed. I received the following error from a curl command:
curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
I have compared both Non-Production and Production configurations and they are the same. Could someone provide me the recommended solution for enabling HTTP/2 protocol. This is the steps that i performed:
As soon as i click the update button, i run the curl command and get the above error.
Any help would be appreciated.
Thanks,
26-Feb-2020 14:00
Hi
This issue seems to be something related to content length and type.
https://forums.cpanel.net/threads/http2-stream-1-was-not-closed-cleanly.636993/
Packet captures would give you more insight in to where the problem is originating.
Hope it helps,
Nag
27-Feb-2020 11:40
I check the content length/type for both environments and they are the same. I will run a capture tonight. Is there a recommended syntax to add to the tcpdump command to get the most insight to the traffic?
27-Feb-2020 15:17
1) You have to use a iRule to collect SSL session secrets to be used in wire-shark to decrypt the SSL traffic in captures.
Decrypting SSL traffic using the SSL::sessionsecret iRules command
https://support.f5.com/csp/article/K12783074
2) command for captures::
tcpdump -vvni 0.0:nnnp -s0 host <Client_IP>-w /var/tmp/file_name.pcap