Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

GRPC: AWS ALB “downgrades HTTP/2 → HTTP/1.1

Excellent question. When we say AWS ALB “downgrades HTTP/2 → HTTP/1.1”, it means that although the client connects to ALB over HTTP/2, ALB then connects to your backend (e.g., EKS service or pod) using HTTP/1.1.

This causes loss of several core gRPC features, because gRPC requires HTTP/2 end-to-end to function properly.


📉 What’s Lost During the Downgrade (HTTP/2 → HTTP/1.1)

gRPC FeatureLost or Broken?Why It Matters
Streaming (client/server/bidi)❌ LostHTTP/1.1 can’t multiplex or maintain bidirectional streams
HTTP/2 Trailers❌ LostgRPC uses trailers for grpc-status, grpc-message → clients can’t detect errors correctly
Multiplexing❌ LostHTTP/2 can handle multiple streams over one connection, HTTP/1.1 cannot
Header Compression (HPACK)❌ LostIncreases payload size and latency
Flow Control per Stream❌ LostHTTP/1.1 has global flow control → less efficient
Binary Framing⚠️ May breakgRPC uses strict framing over HTTP/2 → framing can get corrupted
gRPC Metadata Headers⚠️ IncompleteCustom headers like grpc-timeout may be stripped or altered

✅ What Gets Passed (But Not Fully gRPC-Compatible)

ElementPassed by ALB?Note
HTTP POST✅ YesgRPC uses POST method
Content-Type✅ Yesapplication/grpc usually retained
Basic Protobuf Payload⚠️ PartiallyStill sent, but streaming/chunking could corrupt it
TLS Termination✅ YesALB can terminate TLS and forward plaintext internally
Status Code (e.g., 200, 500)✅ BasicBut not the gRPC-specific status like grpc-status

🧠 What Happens in Practice?

A native gRPC client (e.g., Go, Python, Node) expects:

  • Streaming support
  • grpc-status and grpc-message in HTTP/2 trailers
  • Correct gRPC error handling

But with ALB in the path:

  • Streaming breaks — long-lived calls are prematurely closed
  • Status trailers are lost — client receives only 200 OK even on failure
  • Interceptors and retry logic in gRPC client fail silently

🔎 Example of Broken gRPC Call via ALB

Expected gRPC Response (over HTTP/2):

:status: 200
content-type: application/grpc
grpc-status: 5
grpc-message: Not Found

ALB Response (after downgrade):

HTTP/1.1 200 OK
content-type: application/grpc
(no grpc-status trailer!)

Result: gRPC client sees it as success (OK), even though the call failed on the server.


✅ Summary Table

FeatureHTTP/2 RequiredPassed via ALB (HTTP/1.1)Outcome
Unary gRPC Calls❌ Optional✅ YesMay work
gRPC Streaming (all types)✅ Yes❌ NoBroken
gRPC Trailers (grpc-status)✅ Yes❌ NoBroken
Metadata headers⚠️ Often required⚠️ IncompleteUnpredictable
Observability (otel/metrics)✅ Yes❌ IncompletePartial / broken

🔧 How to Prevent This

Use NLB + Envoy Gateway or a gRPC-aware ingress like:

  • Envoy Gateway with HTTP/2
  • Istio IngressGateway
  • Gateway API with GRPCRoute

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

Terraform Backend Tutorial

Terraform is a popular open-source infrastructure as code tool used to create and manage infrastructure resources. The state of the infrastructure resources managed by Terraform is stored…

Read More

Best Tools for Software Composition Analysis (SCA)

Here’s a clear and professional explanation of the three related concepts you asked about — all of which are critical parts of secure software development, especially in…

Read More

Top 10 AI Code Review Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI code review tools have become essential for developers aiming to enhance code quality, streamline workflows, and accelerate software delivery. These tools leverage advanced…

Read More

Top 10 Expense Management Tools in 2026: Features, Pros, Cons & Comparison

Introduction Expense management tools are critical for businesses of all sizes in 2026 as they help streamline financial processes, improve budgeting, ensure compliance, and enhance financial visibility….

Read More

Top 10 Web Application Firewall (WAF) Tools in 2026: Features, Pros, Cons & Comparison

Introduction In the rapidly evolving landscape of cybersecurity, Web Application Firewalls (WAFs) have become a critical component in defending web applications from malicious attacks such as SQL…

Read More

Top 10 Endpoint Management Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, businesses of all sizes are increasingly reliant on a variety of devices—laptops, desktops, mobile devices, and other endpoints—that connect to their networks. With the…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x