Hypertext Transfer Protocol (HTTP) Proxy-Status

Created

  • 2021-10-22

Last Updated

  • 2026-08-21

Available Formats


HTTP Proxy-Status Parameters

Registration Procedure(s)

  • Expert Review

Expert(s)

  • Mark Nottingham

Reference

  • RFC 9209: The Proxy-Status HTTP Response Header Field

Note

New Proxy-Status parameters and proxy error types, along with changes to existing ones, can be requested using the registry interface or the ietf-http-wg@w3.org mailing list.

Available Formats

NameDescriptionReference
errorThe error parameter's value is a Token that is a proxy error type. When present, it indicates that the intermediary encountered an issue when obtaining this response.RFC 9209
next-hopThe next-hop parameter's value is a String or Token that identifies the intermediary or origin server selected (and used, if contacted) to obtain this response. It might be a hostname, IP address, or alias.RFC 9209
next-protocolThe next-protocol parameter's value indicates the Application-Layer Protocol Negotiation (ALPN) protocol identifier RFC 7301 of the protocol used by the intermediary to connect to the next hop when obtaining this response.RFC 9209
received-statusThe received-status parameter's value indicates the HTTP status code that the intermediary received from the next-hop server when obtaining this response.RFC 9209
detailsThe details parameter's value is a String containing additional information not captured anywhere else. This can include implementation-specific or deployment-specific information.RFC 9209
next-hop-aliasesA string containing one or more DNS aliases or canonical names used to establish a proxied connection to the next hop.RFC 9532

HTTP Proxy Error Types

Registration Procedure(s)

  • Expert Review

Expert(s)

  • Mark Nottingham

Reference

  • RFC 9209: The Proxy-Status HTTP Response Header Field

Note

New Proxy-Status parameters and proxy error types, along with changes to existing ones, can be requested using the registry interface or the ietf-http-wg@w3.org mailing list.

Available Formats

NameDescriptionExtra ParametersRecommended HTTP Status CodeResponse Only Generated by IntermediariesReferenceNotes
dns_timeoutThe intermediary encountered a timeout when trying to find an IP address for the next-hop hostname.None504trueRFC 9209
dns_errorThe intermediary encountered a DNS error when trying to find an IP address for the next-hop hostname.

- rcode: A String conveying the DNS RCODE that indicates the error type. See RFC 9499, Section 3.

- info-code: An Integer conveying the Extended DNS Error Code INFO-CODE. See RFC 8914.

502trueRFC 9209
destination_not_foundThe intermediary cannot determine the appropriate next hop to use for this request; for example, it may not be configured. Note that this error is specific to gateways, which typically require specific configuration to identify the "backend" server; forward proxies use in-band information to identify the origin server.None500trueRFC 9209
destination_unavailableThe intermediary considers the next hop to be unavailable; e.g., recent attempts to communicate with it may have failed, or a health check may indicate that it is down.None503trueRFC 9209
destination_ip_prohibitedThe intermediary is configured to prohibit connections to the next-hop IP address.None502trueRFC 9209
destination_ip_unroutableThe intermediary cannot find a route to the next-hop IP address.None502trueRFC 9209
connection_refusedThe intermediary's connection to the next hop was refused.None502trueRFC 9209
connection_terminatedThe intermediary's connection to the next hop was closed before a complete response was received.None502falseRFC 9209
connection_timeoutThe intermediary's attempt to open a connection to the next hop timed out.None504trueRFC 9209
connection_read_timeoutThe intermediary was expecting data on a connection (e.g., part of a response) but did not receive any new data in a configured time limit.None504falseRFC 9209
connection_write_timeoutThe intermediary was attempting to write data to a connection but was not able to (e.g., because its buffers were full).None504falseRFC 9209
connection_limit_reachedThe intermediary is configured to limit the number of connections it has to the next hop, and that limit has been exceeded.None503trueRFC 9209
tls_protocol_errorThe intermediary encountered a TLS error when communicating with the next hop, either during the handshake or afterwards.None502falseRFC 9209Not appropriate when a TLS alert is received; see tls_alert_received.
tls_certificate_errorThe intermediary encountered an error when verifying the certificate presented by the next hop.None502trueRFC 9209
tls_alert_receivedThe intermediary received a TLS alert from the next hop.

- alert-id: An Integer containing the applicable value from the TLS Alerts registry. See RFC 9846.

- alert-message: A Token or String containing the applicable description string from the TLS Alerts registry. See RFC 9846.

502falseRFC 9209
http_request_errorThe intermediary is generating a client (4xx) response on the origin's behalf. Applicable status codes include (but are not limited to) 400, 403, 405, 406, 408, 411, 413, 414, 415, 416, 417, and 429.

- status-code: An Integer containing the generated status code.

- status-phrase: A String containing the generated status phrase.

The applicable 4xx status codetrueRFC 9209This type helps distinguish between responses generated by intermediaries from those generated by the origin.
http_request_deniedThe intermediary rejected the HTTP request based on its configuration and/or policy settings. The request wasn't forwarded to the next hop.None403trueRFC 9209
http_response_incompleteThe intermediary received an incomplete response to the request from the next hop.None502falseRFC 9209
http_response_header_section_sizeThe intermediary received a response to the request whose header section was considered too large.- header-section-size: An Integer indicating how large the received headers were. Note that they might not be complete; i.e., the intermediary may have discarded or refused additional data.502falseRFC 9209
http_response_header_sizeThe intermediary received a response to the request containing an individual header field line that was considered too large.

- header-name: A String indicating the name of the header field that triggered the error.

- header-size: An Integer indicating the size of the header field that triggered the error.

502falseRFC 9209
http_response_body_sizeThe intermediary received a response to the request whose body was considered too large.- body-size: An Integer indicating how large the received body was. Note that it may not have been complete; i.e., the intermediary may have discarded or refused additional data.502falseRFC 9209
http_response_trailer_section_sizeThe intermediary received a response to the request whose trailer section was considered too large.- trailer-section-size: An Integer indicating how large the received trailers were. Note that they might not be complete; i.e., the intermediary may have discarded or refused additional data.502falseRFC 9209
http_response_trailer_sizeThe intermediary received a response to the request containing an individual trailer field line that was considered too large.

- trailer-name: A String indicating the name of the trailer field that triggered the error.

- trailer-size: An Integer indicating the size of the trailer field that triggered the error.

502falseRFC 9209
http_response_transfer_codingThe intermediary encountered an error decoding the transfer coding of the response.- coding: A Token containing the specific coding (from the HTTP Transfer Coding Registry) that caused the error.502falseRFC 9209
http_response_content_codingThe intermediary encountered an error decoding the content coding of the response.- coding: A Token containing the specific coding (from the HTTP Content Coding Registry) that caused the error.502falseRFC 9209
http_response_timeoutThe intermediary reached a configured time limit waiting for the complete response.None504falseRFC 9209
http_upgrade_failedThe process of negotiating an upgrade of the HTTP version between the intermediary and the next hop failed.None502trueRFC 9209
http_protocol_errorThe intermediary encountered an HTTP protocol error when communicating with the next hop. This error should only be used when a more specific one is not defined.None502falseRFC 9209
proxy_internal_responseThe intermediary generated the response itself without attempting to connect to the next hop.NoneThe most appropriate status code for the responsetrueRFC 9209
proxy_internal_errorThe intermediary encountered an internal error unrelated to the origin.None500trueRFC 9209
proxy_configuration_errorThe intermediary encountered an error regarding its configuration.None500trueRFC 9209
proxy_loop_detectedThe intermediary tried to forward the request to itself, or a loop has been detected using different means (e.g., RFC 8586).None502trueRFC 9209
incremental_refusedThe HTTP message contained the Incremental HTTP header field, but the intermediary refused to forward the message incrementally.None501trueRFC 10036