Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4050B200C6E for ; Mon, 8 May 2017 16:42:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F079160BA5; Mon, 8 May 2017 14:42:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 82696160B99 for ; Mon, 8 May 2017 16:42:11 +0200 (CEST) Received: (qmail 2149 invoked by uid 500); 8 May 2017 14:42:10 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 2138 invoked by uid 99); 8 May 2017 14:42:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2017 14:42:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 57C9D1A7ABA for ; Mon, 8 May 2017 14:42:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Gzs86PqpHuQg for ; Mon, 8 May 2017 14:42:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BC2F75FD90 for ; Mon, 8 May 2017 14:42:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 15981E0DD1 for ; Mon, 8 May 2017 14:42:07 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 195ED21E13 for ; Mon, 8 May 2017 14:42:05 +0000 (UTC) Date: Mon, 8 May 2017 14:42:05 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1844) CloseableHttpClient error : org.apache.http.NoHttpResponseException failed to respond MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 08 May 2017 14:42:12 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1844?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16000841#comment-16000841 ]=20 Oleg Kalnichevski commented on HTTPCLIENT-1844: ----------------------------------------------- I see no reference to a proxy with address127.0.0.1 anywhere in the log. Oleg > CloseableHttpClient error : org.apache.http.NoHttpResponseException faile= d to respond > -------------------------------------------------------------------------= ------------ > > Key: HTTPCLIENT-1844 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-184= 4 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient (async) > Affects Versions: 4.5.3 > Environment: JDK : Java 8 > IDE : Netbean > EVR : MacOS > Reporter: L=C3=AA V=C4=83n 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 resp= ond > My code I using CloseableHttpClient: > I format my code at : https://pastebin.com/tj1Ewq2P=20 > method : testCloseableHttpClient() > But when i using HttpURLConnection then ok , so I don't know why Closeabl= eHttpClient 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