Interview Prep/AWS/EC2, Auto Scaling and Load Balancing

ALB access logs show many `460` responses and some `463`. What do they mean?

AdvancedTroubleshootingEC2, Auto Scaling and Load Balancing
Answer

Likely causes → These are ALB-specific codes. 460 means the client closed the connection before the idle timeout ran out, usually because the client timeout is shorter than the backend latency. 463 means the X-Forwarded-For header has more than 30 IP addresses, usually from a proxy loop or a misbehaving client.

Diagnose →

aws s3 cp s3://alb-logs/AWSLogs/111111111111/elasticloadbalancing/us-east-1/2026/11/09/ . --recursive
zcat *.log.gz | awk '$9==460 {print $13,$14}' | sort | uniq -c | sort -rn | head   # method + URL
zcat *.log.gz | awk '$9==460 {print $7}' | sort -n | tail                         # target_processing_time

Fix →

  1. For 460, find the slow endpoints and fix their latency, or align the client and SDK timeouts with the server
  2. For 463, find the proxy chain that keeps appending to XFF, and break the loop (for example, CloudFront → ALB → nginx → the same ALB)

Prevent → Load ALB logs into Athena with a saved table, and alarm on the p99 latency of the top routes.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing