463 Too many forwarded IP addresses
The 463 HTTP response status code means that the load balancer received a request with an X-Forwarded-For header containing an excessive number of IP addresses.
You can Check Your URLs HTTP Code for FREE
Introduction
In Action
Sample
Conclusion
Introduction
When you encounter the HTTP status code 463 Too Many Forwarded IP Addresses, it means that the load balancer received a request with an X-Forwarded-For header containing an excessive number of IP addresses.
This situation is specific to AWS Elastic Load Balancer and might occur due to incorrect configuration or unusual network setups. The server cannot process the request properly in this scenario, and it’s essential to review the headers being sent to resolve the issue.
In Action
When you encounter the HTTP status code 463 “Too Many Forwarded IP Addresses,” it means that the HTTP request includes an X-Forwarded-For header containing more than 30 IP addresses.
This header is used by load balancers to help identify the client’s IP address, but when it contains too many addresses, it can cause issues with processing the request and lead to errors.
To resolve this, check the headers being sent and ensure they are within the limit to avoid encountering this status code. Note that search engines will not index URLs with this status code, so it’s important to address it for proper visibility.
Sample
In the example, when the client sends an HTTP request, it includes the X-Forwarded-For header to provide the client’s IP address.
However, the server responds with the 463 “Too Many Forwarded IP Addresses” status code because the X-Forwarded-For header contains an excessive number of IP addresses, exceeding the limit set by the server.
This can cause processing issues, and to avoid the error, the client should ensure that the header contains a reasonable number of IP addresses within the specified limit.
Request
X-Forwarded-For: 192.168.1.1, …, 192.168.1.35
Response
HTTP/1.1 463
Content-Type: text/html
Content-Length: 186
< html>
< head>
< title>AWS Load Balancer Error< /title>
< /head>
< body>
< p>Too many IPs included in X-Forwarded-For. Please limit this to 30 and try again.< /p>
< /body>
< /html>
Conclusion
The 463 “Too Many Forwarded IP Addresses” status code is used when an HTTP request contains an X-Forwarded-For header with an excessive number of IP addresses, surpassing the limit set by the server. This code is specific to AWS Elastic Load Balancer and indicates that the load balancer encountered too many forwarded IP addresses, which can cause processing issues for the request.