The application is a Node.js web crawler that executes requests to remote servers through the request library.
Requests are made through authenticated HTTP proxies with 99% and higher uptime provided by a third-party provider.
I am trying to process HTTP codes to request request errors that could be caused by an incorrect proxy. He expected that after reaching the threshold of these HTTP codes, a flag will be triggered that the proxy server will be unreliable, so the proxy server will be queued for diagnostics. And I expect some codes to have more weight.
I am currently processing 407 (proxy authentication) and 408 (request timeout) HTTP codes for proxies.
Are there other HTTP codes that are usually caused by HTTP proxy failures?
I hope this question is specific enough. I assume that the possible malfunction (and the set of possible HTTP error status codes) depends on the actual proxy server and its environment. We should consider these proxies as black because they are provided by a third party.
The issue is not HTTP status codes at all, only error codes can be caused by proxy failures (forward proxies).
estus source share