azureazure-application-gateway

Azure Application Gateway http/2 not working


I have enabled Http2 in Azure portal in Application gateway configuration.

Also, I am accessing it using https and have min version set to TLS 1.2

Still, when accessing it from browser, Chrome dev tools report protocol http 1.1 is being used.

Am I missing something?


Solution

  • Azure Application Gateway supports HTTP/2 protocol. However, it is important to note that HTTP/2 protocol support is available only for requests from clients to Application Gateway. The communication from Application Gateway to backends happens over HTTP/1.1.

    enter image description here

    If you have enabled HTTP/2 in the Azure portal and have set the minimum version to TLS 1.2, then it should work. However, it is possible that your browser does not support HTTP/2 over TLS. All major browsers support HTTP/2 in their current versions, but if you are using an older version of the browser, it may not support HTTP/2.

    You can check whether your browser supports HTTP/2 by using the F12 Developer Tool in your browser and switching to the Network tab to verify the protocol. If your browser does not support HTTP/2, it will automatically fall back to HTTP/1.1.

    enter image description here

    But it has nothing to do with the http version as latest chrome runs on http2 only, you can use the below document to config TLS policy.

    Reference-