You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Jira)" <ji...@apache.org> on 2022/01/04 10:20:00 UTC

[jira] [Commented] (HTTPCLIENT-2193) HttpClient Hangs Indefinitely When Using Conscrypt

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

Oleg Kalnichevski commented on HTTPCLIENT-2193:
-----------------------------------------------

[~avasilev] I will see if I can reproduce the issue locally. Do you know if it affects 5.1 as well?

Oleg

> HttpClient Hangs Indefinitely When Using Conscrypt
> --------------------------------------------------
>
>                 Key: HTTPCLIENT-2193
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2193
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>    Affects Versions: 5.2-alpha1
>            Reporter: Andrei Vasilev
>            Priority: Minor
>         Attachments: Main.java, amazon(FAILURE).log, build.gradle, google(SUCCESS).log, log4j2.xml, netflix(FAILURE).log, yahoo(SUCCESS).log
>
>
> When using an alternative security provider such as Conscrypt, requests will fail the majority of the time, hanging indefinitely at various points during the request / response process.
> All requests appear to successfully CONNECT, but retrieving data is very intermittent. Either the entity is not streamed at all, partially streamed, or fully streamed but the client then hangs forever. I let it run for 3 hours, and even then the client didn't shutdown.
> As you can see in the logs I have attached, requests to some major websites will fail at different steps. I have also attached a minimally re-produceable example program. I tested this with OkHttp client and all requests work just fine using Conscrypt. Not sure what's going on.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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