463 Too many forwarded IP addresses

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.

Related articles

999 Request Denied

999 Request Denied The 999 HTTP response status code is...

599 Network Connect Timeout Error

599 Network Connect Timeout Error The 599 HTTP response status...

598 Network read timeout error

598 Network read timeout error The 598 HTTP response status...

561 Unauthorized

561 Unauthorized The 561 HTTP response status code means there...

530 Site Frozen

530 Site Frozen The 530 HTTP response status code is...

999 Request Denied

0
999 Request Denied The 999 HTTP response status code is an unofficial catch-all error code returned...

599 Network Connect Timeout Error

0
599 Network Connect Timeout Error The 599 HTTP response status code indicates a timeout when trying...

598 Network read timeout error

0
598 Network read timeout error The 598 HTTP response status code indicates a timeout occurred during...

561 Unauthorized

0
561 Unauthorized The 561 HTTP response status code means there was an authentication failure. You can Check...

530 Site Frozen

0
530 Site Frozen The 530 HTTP response status code is a specialized server error used by...