On Thu, 2014-03-13 at 21:07 +0530, Vicky wrote:
> Hi,
>
> I am using HttpClient 4.0.1. And trying to get proxy working with my SSL
> based http client. Unfortunately i haven't been successful so far.
>
> Could get a not secure http proxy working, but the problem is with https.
>
> Can you provide any pointers to doing this.
>
> I am using the following code for setting the proxy,
>
> HttpHost proxy = new HttpHost("localhost", 5555);
>
> httpClient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
>
> Any help is greatly appreciated.
>
> Thanks,
> Vicky
I responded to your previous message but for some reason my response got
lost in transit.
First off, is there a reason why you are using such an outdated version
of HttpClient? Even if for some inexplicable reasons you need full 4.0
compatibility at the very least upgrade to 4.0.3. After that please run
your code with wire / context logging on and post a log of the session
to this list.
http://hc.apache.org/httpcomponents-client-4.3.x/logging.html
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]