[
https://issues.apache.org/jira/browse/HTTPCLIENT-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-1481.
-------------------------------------------
Resolution: Invalid
As you can see the proxy fails to respond to the CONNECT request and
immediately drops connection on its end
{noformat}
2014/03/14 18:32:21:605 IST [DEBUG] wire - http-outgoing-0 >> "CONNECT
issues.apache.org:443 HTTP/1.1[\r][\n]"
2014/03/14 18:32:21:605 IST [DEBUG] wire - http-outgoing-0 >> "Host:
issues.apache.org:443[\r][\n]"
2014/03/14 18:32:21:606 IST [DEBUG] wire - http-outgoing-0 >>
"Proxy-Connection: Keep-Alive[\r][\n]"
2014/03/14 18:32:21:606 IST [DEBUG] wire - http-outgoing-0 >> "[\r][\n]"
2014/03/14 18:32:22:609 IST [DEBUG] wire - http-outgoing-0 << "end of stream"
2014/03/14 18:32:22:609 IST [DEBUG] DefaultManagedHttpClientConnection -
http-outgoing-0: Close connection
2014/03/14 18:32:22:609 IST [DEBUG] DefaultManagedHttpClientConnection -
http-outgoing-0: Shutdown connection
{noformat}
This is a clearly a proxy side issue. I have not worked with TCPMon but I am
pretty sure one needs to configure it with specific key material to be able to
eavesdrop on encrypted traffic.
Oleg
> Http Proxy with SSL target not working
> --------------------------------------
>
> Key: HTTPCLIENT-1481
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1481
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.2.6
> Reporter: Vikram
>
> I am using HttpClient 4.0.1 and trying to configure proxy for my target https
> server but its not working.
> Case being Http Client -> Http Proxy -> Https Target.
> Direct communication between the client and the target is working fine, but
> when i introduce the proxy. Followed the example provided here -
> http://hc.apache.org/httpcomponents-client-4.2.x/httpclient/examples/org/apache/http/examples/client/ClientExecuteProxy.java
> Tried posting this on the user lists but no one seems to respond there, is
> this really supported?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]