[ https://issues.apache.org/jira/browse/HTTPCLIENT-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17790543#comment-17790543 ]
ASF subversion and git services commented on HTTPCLIENT-2307: ------------------------------------------------------------- Commit a9396f3c1a82b5605c3b8211bb755e0d2df3024c in httpcomponents-client's branch refs/heads/5.2.x from Gary Gregory [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=a9396f3c1 ] More precise description for HTTPCLIENT-2307 > getting "Invalid Proxy" when no proxy set > ----------------------------------------- > > Key: HTTPCLIENT-2307 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2307 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient (classic) > Affects Versions: 5.2.2 > Reporter: Jim Sellers > Priority: Major > Fix For: 5.2.3, 5.3-alpha2 > > > When updating from 5.2.1 to 5.2.2 I now get a > "java.lang.IllegalArgumentException: Invalid Proxy" error. > I made a demo project that I can reproduce the issue on multiple networks. > https://github.com/sellersj/httpclient522 > {code} > java.lang.IllegalArgumentException: Invalid Proxy > at java.net.Socket.<init>(Socket.java:120) > at > org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory.createSocket(SSLConnectionSocketFactory.java:208) > at > org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158) > at > org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:447) > at > org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:162) > at > org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:172) > at > org.apache.hc.client5.http.impl.classic.ConnectExec.execute(ConnectExec.java:142) > at > org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) > at > org.apache.hc.client5.http.impl.classic.ProtocolExec.execute(ProtocolExec.java:192) > at > org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) > at > org.apache.hc.client5.http.impl.classic.HttpRequestRetryExec.execute(HttpRequestRetryExec.java:96) > at > org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) > at > org.apache.hc.client5.http.impl.classic.ContentCompressionExec.execute(ContentCompressionExec.java:152) > at > org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) > at > org.apache.hc.client5.http.impl.classic.RedirectExec.execute(RedirectExec.java:115) > at > org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51) > at > org.apache.hc.client5.http.impl.classic.InternalHttpClient.doExecute(InternalHttpClient.java:170) > at > org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:123) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org