Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 61189 invoked from network); 10 Feb 2010 16:47:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 16:47:59 -0000 Received: (qmail 17377 invoked by uid 500); 10 Feb 2010 16:47:59 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 17308 invoked by uid 500); 10 Feb 2010 16:47:59 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 17298 invoked by uid 99); 10 Feb 2010 16:47:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 16:47:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 16:47:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NfFip-0001GQ-CQ for httpclient-users@hc.apache.org; Wed, 10 Feb 2010 08:47:27 -0800 Message-ID: <27534295.post@talk.nabble.com> Date: Wed, 10 Feb 2010 08:47:27 -0800 (PST) From: chdupuy To: httpclient-users@hc.apache.org Subject: HttpRoute problem using ConnRoutePNames.LOCAL_ADDRESS MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30294_20136517.1265820447380" X-Nabble-From: chdupuy@wanadoo.fr X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30294_20136517.1265820447380 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit As mentioned in subject, I've been in trouble using ConnRoutePNames.LOCAL_ADDRESS with HttpClient parameters. I've three different network interfaces and I want my application use both of them randomly. Unfortunately, my application throws a org.apache.http.conn.HttpHostConnectException when I specify a particular interface. Here a part of my logs : DEBUG Thread-1 org.apache.http.impl.client.ClientParamsStack - 'http.route.local-address': rangiroa/192.168.1.22 DEBUG Thread-1 org.apache.http.impl.conn.SingleClientConnManager - Get connection for route HttpRoute[rangiroa/192.168.1.22->{}->http://www.google.fr] DEBUG Thread-1 org.apache.http.impl.conn.DefaultClientConnection - Connection shut down I know the connection cannot be done, but why? What am I doing wrong? Thx in advance for anybody who will drive me on the right way. -- View this message in context: http://old.nabble.com/HttpRoute-problem-using-ConnRoutePNames.LOCAL_ADDRESS-tp27534295p27534295.html Sent from the HttpClient-User mailing list archive at Nabble.com. ------=_Part_30294_20136517.1265820447380--