hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bronislav Gabrhelík (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1431) The HTTPClient 4.3 doesn't accept the SocketFactory based on the LayeredSchemeSocketFactory when using HTTP proxy
Date Wed, 06 Nov 2013 12:16:19 GMT

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

Bronislav Gabrhelík commented on HTTPCLIENT-1431:

Tested on trunk  (httpclient-4.3.2-SNAPSHOT). I can confirm that it works fine now. I am not
sure what is the workflow. Should I close the bug?

Thanks for the prompt fix. When do you expect the release of 4.3.2?
Kind regards,

> The HTTPClient 4.3 doesn't accept the SocketFactory based on the LayeredSchemeSocketFactory
when using HTTP proxy
> -----------------------------------------------------------------------------------------------------------------
>                 Key: HTTPCLIENT-1431
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1431
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.3 Final
>         Environment: HttpClient 4.3, squid proxy with basic authentication, Xythos WebDAV
>            Reporter: Bronislav Gabrhelík
>             Fix For: 4.3.2
> We upgraded to 4.3 some time ago and our QA has found the problem for following configuration:
> # The HTTPS protocol used. The authentication scheme is not important.
> # The HTTP proxy used with Basic authentication.
> Following exception is thrown
> Caused by: java.lang.IllegalStateException: Socket factory must implement SchemeLayeredSocketFactory
> 	at org.apache.http.util.Asserts.check(Asserts.java:34)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.updateSecureConnection(DefaultClientConnectionOperator.java:214)
> 	at org.apache.http.impl.conn.AbstractPoolEntry.layerProtocol(AbstractPoolEntry.java:243)
> 	at org.apache.http.impl.conn.AbstractPooledConnAdapter.layerProtocol(AbstractPooledConnAdapter.java:152)
> 	at org.apache.http.impl.client.DefaultRequestDirector.establishRoute(DefaultRequestDirector.java:800)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:614)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
> 	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
> We register own SSL Socket implementation for HTTPClient. The SSL Socket Factory implements
LayeredSchemeSocketFactory interface. I understand that the LayeredSchemeSocketFactory interface
has been deprecated, however my understanding is that the deprecated interfaces should continue
to work until this interface is definitely removed. 

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