You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Lê Văn Thanh (JIRA)" <ji...@apache.org> on 2017/05/08 14:16:04 UTC

[jira] [Comment Edited] (HTTPCLIENT-1844) CloseableHttpClient error : org.apache.http.NoHttpResponseException failed to respond

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

Lê Văn Thanh edited comment on HTTPCLIENT-1844 at 5/8/17 2:15 PM:
------------------------------------------------------------------

Sorry, I forget that .
This is HttpURLConnection log : https://pastebin.com/TzgVvWDr . 
HttpURLConnection working without error.


was (Author: thanhlv93):
Sorry, I forget that .
This is HttpURLConnection log : https://pastebin.com/TzgVvWDr . 
HttpURLConnection without error.

> CloseableHttpClient error : org.apache.http.NoHttpResponseException failed to respond
> -------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1844
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1844
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>    Affects Versions: 4.5.3
>         Environment: JDK : Java 8
> IDE : Netbean
> EVR : MacOS
>            Reporter: Lê Văn Thanh
>         Attachments: log_bug
>
>
> I tried to using CloseableHttpClient with tor proxy but i got a messenge :
> org.apache.http.NoHttpResponseException: The target server failed to respond
> My code I using CloseableHttpClient:
> I format my code at : https://pastebin.com/tj1Ewq2P 
> method : testCloseableHttpClient()
> But when i using HttpURLConnection then ok , so I don't know why CloseableHttpClient not ok.
> My code i using HttpURLConnection :
> method : testHttpURLConnection()
> Many thanks !



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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