PuppyIP Resource Center
Developer Tools & Networking 5 min Published 2026-11-24

CloudFront origin still uses HTTP/1.1? Check HTTP/2 fallback

On November 23, AWS announced HTTP/2 connections from CloudFront to custom and VPC origins. HTTP/2 can carry multiple requests over one connection. If a request still arrives over HTTP/1.1, check the origin configuration, HTTPS, and TLS for the relevant cache behavior. Then verify the protocol at the service that receives CloudFront’s connection.

AWS CloudFront HTTP/2 ALPN VPC Origins

Service eligibility and regional restrictions

PuppyIP serves only compliant overseas businesses and their authorized personnel. Proxy services are not available in mainland China. The service may only be used for lawful business activities outside mainland China. Use of this service within mainland China is prohibited.

Hosting a proxy IP or server overseas does not change these restrictions. The service must not be provided to end users in mainland China through relaying, forwarding, sharing or resale. Before use, read the Terms of Service.

Key Takeaways

  • Choose Origin HTTP version for the origin within the distribution. HTTP/1.1 is the default. The API field is OriginHttpVersion.
  • CloudFront negotiates HTTP/2 using ALPN on HTTPS connections with a configured TLS minimum of 1.2. It falls back when the origin does not negotiate HTTP/2.
  • Compare a real origin request with logs at the origin. VPC origin settings are per distribution, and older tools can drop the field when updating the configuration.

Identify the origin that will receive the request

Find the origin ID for the test path in the distribution’s cache behavior. Check Origin HTTP version on that origin. The API field lives in CustomOriginConfig for a custom origin and VpcOriginConfig for a VPC origin. Both take http2 or http1.1. Configure each distribution that uses the same VPC origin.

The protocol shown by a browser or client describes its connection to CloudFront. Use a test request that reaches your origin, then check the load balancer or service that accepts CloudFront's connection. If CloudFront serves the response from cache, use a test path where you can verify an origin request.

Check HTTPS, the configured TLS minimum, and ALPN

CloudFront attempts HTTP/2 over HTTPS. A custom origin uses HTTP/1.1 if its protocol policy is HTTP only, or if it is Match viewer and the viewer used HTTP. Review the configured TLS versions too. AWS says that if OriginSslProtocols allows a version older than TLS 1.2, CloudFront uses HTTP/1.1 even when a particular connection uses TLS 1.2.

CloudFront offers HTTP/2 via ALPN during the TLS handshake. Check the negotiated protocol at the first TLS endpoint on the origin side. If that endpoint accepts only HTTP/1.1, CloudFront can still make the request. A matching cache behavior with a Lambda@Edge origin request or origin response function can also use HTTP/1.1.

Read the setting after updates and verify a real origin request

Before updating the distribution with an SDK or the AWS CLI, confirm your tool can read and preserve OriginHttpVersion. AWS says older clients can drop the field when reading and writing the configuration, which sends that origin back to HTTP/1.1. Read the setting again after the update and let the distribution finish deploying before testing.

Send a few ordinary requests to a test path you own that reaches the origin. Match the request times or your own request identifiers to origin records. Check the protocol and response first. Then compare connections, errors, and latency using your application's traffic patterns, since the gains from reuse depend on traffic and how the origin handles it.

Check extended CONNECT separately for WebSockets

The CloudFront WebSocket viewer connection uses HTTP/1.1. An HTTP/2 connection to the origin requires HTTP/2 configuration and support at the origin, including extended CONNECT advertised through SETTINGS_ENABLE_CONNECT_PROTOCOL. AWS says some connections can still use HTTP/1.1. Check a regular HTTP request and the WebSocket path separately at the origin.

Sources

Frequently Asked Questions

Can two distributions use different HTTP versions with the same VPC origin?

Yes. Origin HTTP version is set on the VPC origin configuration within each distribution. Read it back on each distribution and verify with its own requests.

Does HTTP/2 to origins cost extra?

AWS says the capability is available at all CloudFront edge locations without an additional charge. CloudFront and origin service usage still follows the applicable pricing.