One NO_PROXY. Five clients. Different answers.
One environment, five client implementations. This report shows exactly where their DIRECT, PROXY, and ERROR decisions diverge.
Targets6
Agreements0
Disagreements6
Client errors0
Findings
-
CASE_CONFLICThttp_proxy and HTTP_PROXY are both set to different values. -
CASE_CONFLICThttps_proxy and HTTPS_PROXY are both set to different values. -
CASE_CONFLICTno_proxy and NO_PROXY are both set to different values. -
ROUTE_DISAGREEMENTClients disagree between DIRECT, PROXY, or ERROR routes. https://svc.cluster.local/health -
PROXY_ENDPOINT_DISAGREEMENTClients select different proxy endpoints. https://svc.cluster.local/health -
ROUTE_DISAGREEMENTClients disagree between DIRECT, PROXY, or ERROR routes. http://orders.svc.cluster.local/ready -
ROUTE_DISAGREEMENTClients disagree between DIRECT, PROXY, or ERROR routes. http://billing.corp.example/status -
ROUTE_DISAGREEMENTClients disagree between DIRECT, PROXY, or ERROR routes. http://10.42.7.18/metrics -
PROXY_ENDPOINT_DISAGREEMENTClients select different proxy endpoints. http://10.42.7.18/metrics -
ROUTE_DISAGREEMENTClients disagree between DIRECT, PROXY, or ERROR routes. http://127.0.0.1:9000/debug -
PROXY_ENDPOINT_DISAGREEMENTClients select different proxy endpoints. http://public.example/download
Decision matrix
Target 1
DISAGREE
svc.cluster.local:443
https://svc.cluster.local/health
| Client | Route | Evidence | Why |
|---|---|---|---|
curl
curl
|
DIRECT | no_proxymatched ".svc.cluster.local" | curl matched no_proxy rule ".svc.cluster.local". |
GNU Wget
wget
|
PROXY | https_proxyhttp://lower.proxy.example:8080/ | wget selected https_proxy; no exclusion rule matched. |
CPython urllib.request
python
|
DIRECT | no_proxymatched ".svc.cluster.local" | python matched no_proxy rule ".svc.cluster.local". |
Go net/http
go
|
PROXY | HTTPS_PROXYhttp://upper.proxy.example:8080/ | go selected HTTPS_PROXY; no exclusion rule matched. |
Ruby URI::Generic
ruby
|
DIRECT | no_proxymatched "10.0.0.0/8" | ruby matched no_proxy rule "10.0.0.0/8". |
Target 2
DISAGREE
orders.svc.cluster.local:80
http://orders.svc.cluster.local/ready
| Client | Route | Evidence | Why |
|---|---|---|---|
curl
curl
|
DIRECT | no_proxymatched ".svc.cluster.local" | curl matched no_proxy rule ".svc.cluster.local". |
GNU Wget
wget
|
DIRECT | no_proxymatched ".svc.cluster.local" | wget matched no_proxy rule ".svc.cluster.local". |
CPython urllib.request
python
|
DIRECT | no_proxymatched ".svc.cluster.local" | python matched no_proxy rule ".svc.cluster.local". |
Go net/http
go
|
PROXY | HTTP_PROXYhttp://upper.proxy.example:8080/ | go selected HTTP_PROXY; no exclusion rule matched. |
Ruby URI::Generic
ruby
|
DIRECT | no_proxymatched ".svc.cluster.local" | ruby matched no_proxy rule ".svc.cluster.local". |
Target 3
DISAGREE
billing.corp.example:80
http://billing.corp.example/status
| Client | Route | Evidence | Why |
|---|---|---|---|
curl
curl
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | curl selected http_proxy; no exclusion rule matched. |
GNU Wget
wget
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | wget selected http_proxy; no exclusion rule matched. |
CPython urllib.request
python
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | python selected http_proxy; no exclusion rule matched. |
Go net/http
go
|
DIRECT | NO_PROXYmatched "*.corp.example" | go matched NO_PROXY rule "*.corp.example". |
Ruby URI::Generic
ruby
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | ruby selected http_proxy; no exclusion rule matched. |
Target 4
DISAGREE
10.42.7.18:80
http://10.42.7.18/metrics
| Client | Route | Evidence | Why |
|---|---|---|---|
curl
curl
|
DIRECT | no_proxymatched "10.0.0.0/8" | curl matched no_proxy rule "10.0.0.0/8". |
GNU Wget
wget
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | wget selected http_proxy; no exclusion rule matched. |
CPython urllib.request
python
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | python selected http_proxy; no exclusion rule matched. |
Go net/http
go
|
PROXY | HTTP_PROXYhttp://upper.proxy.example:8080/ | go selected HTTP_PROXY; no exclusion rule matched. |
Ruby URI::Generic
ruby
|
DIRECT | no_proxymatched "10.0.0.0/8" | ruby matched no_proxy rule "10.0.0.0/8". |
Target 5
DISAGREE
127.0.0.1:9000
http://127.0.0.1:9000/debug
| Client | Route | Evidence | Why |
|---|---|---|---|
curl
curl
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | curl selected http_proxy; no exclusion rule matched. |
GNU Wget
wget
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | wget selected http_proxy; no exclusion rule matched. |
CPython urllib.request
python
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | python selected http_proxy; no exclusion rule matched. |
Go net/http
go
|
DIRECT | Go bypasses localhost and literal loopback addresses. | Go bypasses localhost and literal loopback addresses. |
Ruby URI::Generic
ruby
|
DIRECT | Ruby bypasses its first resolved loopback address. | Ruby bypasses its first resolved loopback address. |
Target 6
DISAGREE
public.example:80
http://public.example/download
| Client | Route | Evidence | Why |
|---|---|---|---|
curl
curl
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | curl selected http_proxy; no exclusion rule matched. |
GNU Wget
wget
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | wget selected http_proxy; no exclusion rule matched. |
CPython urllib.request
python
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | python selected http_proxy; no exclusion rule matched. |
Go net/http
go
|
PROXY | HTTP_PROXYhttp://upper.proxy.example:8080/ | go selected HTTP_PROXY; no exclusion rule matched. |
Ruby URI::Generic
ruby
|
PROXY | http_proxyhttp://lower.proxy.example:8080/ | ruby selected http_proxy; no exclusion rule matched. |
Behavior sources
- curl7.86+ environment behavior
- GNU Wget1.x
- CPython urllib.request3.14
- Go net/httpstdlib vendored httpproxy
- Ruby URI::GenericURI 1.x