hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1481) Http Proxy with SSL target not working
Date Fri, 14 Mar 2014 12:34:42 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934945#comment-13934945

Vikram commented on HTTPCLIENT-1481:

Additionally in TCPmon(proxy), the HTTP communication observed was,

Incoming request 
CONNECT issues.apache.org:443 HTTP/1.1

Response from the proxy
java.net.ConnectException: Connection refused: connect
	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:579)
	at java.net.Socket.connect(Socket.java:528)
	at java.net.Socket.<init>(Socket.java:425)
	at java.net.Socket.<init>(Socket.java:208)
	at org.apache.ws.commons.tcpmon.Connection.run(Connection.java:372)

> 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message