hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lê Văn Thanh (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1844) CloseableHttpClient error : org.apache.http.NoHttpResponseException failed to respond
Date Mon, 08 May 2017 14:15:04 GMT

    [ 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 commented on HTTPCLIENT-1844:
------------------------------------------

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


Mime
View raw message