1

A few days ago I've enabled HTTP/2 in CloudFront with S3 origin but it does not work. It keeps using http1.1

curl --http2 "https://my.cdn.com
curl: (1) Unsupported protocol

I've tested with both TLS1 and TLSv1.2_2018. I'm using a custom URL (Route53) with SSL (certificate manager). My viewer protocol policy is Redirect HTTP to HTTPS. What am I missing?

DenCowboy
  • 13,884
  • 38
  • 114
  • 210
  • 1
    I believe you have HTTP2 enabled on cloudfront, could it be that your curl package is old ? check here to confirm: https://tools.keycdn.com/http2-test – James Dean Sep 27 '19 at 13:31

1 Answers1

0

That error message is saying that your version of curl doesn’t support HTTP/2 - not that your site doesn’t support HTTP/2.

This answer lists various other ways to test for HTTP/2 support: How to check if website has http/2 protocol support

Barry Pollard
  • 40,655
  • 7
  • 76
  • 92