Hi,
It seems that HTTP proxies are not properly supported when authentication scheme is set (due to httpclient impl -> org.apache.http.impl.client.ProxyClient#tunnel).
Long story short, it starts a CONNECT request UNCHALLENGED and expects a challenge but if the proxy only expects authenticated request it then fails and does not get any new chance to get authenticated.
Is it possible to at least force a basic Proxy-Authentication if it fails once (often a PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target cause http proxy didn't play well its role cause authentication was missing)
Hi,
It seems that HTTP proxies are not properly supported when authentication scheme is set (due to httpclient impl -> org.apache.http.impl.client.ProxyClient#tunnel).
Long story short, it starts a CONNECT request UNCHALLENGED and expects a challenge but if the proxy only expects authenticated request it then fails and does not get any new chance to get authenticated.
Is it possible to at least force a basic Proxy-Authentication if it fails once (often a
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetcause http proxy didn't play well its role cause authentication was missing)