463 HTTP Origin: Network OSI layer 7 · Application Last updated 18 Nov 2026

AWS ALB 463 X-Forwarded-For header has too many IP addresses

The ALB received a request whose X-Forwarded-For header lists more than 30 IP addresses.

Exact message you may see ALB 463 X-Forwarded-For463 The load balancer received an X-Forwarded-For request header with more than 30 IP addresses
Seen on: AWS HTTP

Meaning

Each proxy appends an IP; a chain of more than 30 is rejected. Reduce proxy hops, strip or reset X-Forwarded-For at the edge, and look for forwarding loops.

Common causes

  • Too many proxy hops
  • Forwarding loop between proxies
  • Client sending forged long XFF
  • CDN chained to CDN
  • Header never reset at the edge

⚡ Quick fix

  1. Remove unnecessary proxy hops
  2. Reset XFF at the first trusted proxy
  3. Find and fix a request loop

Detailed fix by platform

cURL

  1. curl -sI -H "X-Forwarded-For: 1.1.1.1, 2.2.2.2" https://alb.example.com/

How to diagnose

  1. XFF entries — More than 30?
  2. Hops — Needed?
  3. Loop — Present?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

460 — AWS ALB 460 Client Closed Connection (HTTP)460494 — nginx 494 Request Header Or Cookie Too Large (HTTP)494496 — nginx 496 SSL Certificate Required (HTTP)496508 — HTTP 508 Loop Detected (Resource Limit Is Reached) (HTTP)508561 — AWS ALB 561 Unauthorized (identity provider error) (HTTP)561ACM region — CloudFront can't use my ACM certificate: it must be requested in us-east-1 (N. Virginia) (SSL / TLS)ACM regionALB listener — ALB HTTPS listener: CertificateNotFound / default certificate missing or SNI certificate list incomplete (SSL / TLS)ALB listenerAWS_CA_BUNDLE — AWS CLI/SDK: SSL validation failed for https://... certificate verify failed (custom CA bundle / proxy) (SSL / TLS)AWS_CA_BUNDLE463

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.