hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1565) examples.client.ClientExecuteSOCKS doesn't specify the context while making the request.
Date Fri, 10 Oct 2014 20:44:34 GMT
Rohit Agarwal created HTTPCLIENT-1565:
-----------------------------------------

             Summary: examples.client.ClientExecuteSOCKS doesn't specify the context while
making the request.
                 Key: HTTPCLIENT-1565
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1565
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: Examples
            Reporter: Rohit Agarwal


I get this error:
{code}
Exception in thread "main" java.lang.IllegalArgumentException: type SOCKS is not compatible
with address null
	at java.net.Proxy.<init>(Proxy.java:95)
	at com.qubole.cluster_proxy.ClientExecuteSOCKS$MyConnectionSocketFactory.createSocket(ClientExecuteSOCKS.java:92)
	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:107)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:115)
	at org.apache.http.examples.client.ClientExecuteSOCKS.main(ClientExecuteSOCKS.java:74)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message