Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DA6B10435 for ; Tue, 30 Apr 2013 18:55:05 +0000 (UTC) Received: (qmail 38289 invoked by uid 500); 30 Apr 2013 18:55:04 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 38251 invoked by uid 500); 30 Apr 2013 18:55:04 -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 38243 invoked by uid 99); 30 Apr 2013 18:55:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 18:55:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [217.150.250.48] (HELO kalnich.nine.ch) (217.150.250.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 18:54:56 +0000 Received: from [192.168.1.121] (77-57-197-206.dclient.hispeed.ch [77.57.197.206]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by kalnich.nine.ch (Postfix) with ESMTPSA id 5D1E2B80126 for ; Tue, 30 Apr 2013 20:54:15 +0200 (CEST) Message-ID: <1367348054.2247.10.camel@ubuntu> Subject: Re: Apache HTTP Client fails to return 404 for a non-existing file. From: Oleg Kalnichevski To: HttpClient User Discussion Date: Tue, 30 Apr 2013 20:54:14 +0200 In-Reply-To: References: <1367317910.2155.11.camel@ubuntu> <1367342001.2247.2.camel@ubuntu> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 2013-04-30 at 18:09 +0000, Poonam Chawla wrote: > Hello Oleg, > > Here are the logs: > > SUCCESS LOG (Wire + Context) > > 2013/04/30 14:05:59:233 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] start execution > 2013/04/30 14:05:59:241 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Request connection for {}->http://aastolfi-deb6-64:9910 > 2013/04/30 14:05:59:243 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection request: [route: {}->http://aastolfi-deb6-64:9910][total kept alive: 0; route allocated: 0 of 10; total allocated: 0 of 20] > 2013/04/30 14:05:59:308 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection leased: [id: 1][route: {}->http://aastolfi-deb6-64:9910][total kept alive: 0; route allocated: 1 of 10; total allocated: 0 of 20] > 2013/04/30 14:05:59:310 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Connection allocated: [id:1][route:{}->http://aastolfi-deb6-64:9910][state:null] > 2013/04/30 14:05:59:329 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][r:]: Set attribute http.nio.exchange-handler > 2013/04/30 14:05:59:329 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][rw:]: Event set [w] > 2013/04/30 14:05:59:329 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE]: Connected > 2013/04/30 14:05:59:330 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][rw:]: Set attribute http.nio.http-exchange-state > 2013/04/30 14:05:59:330 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Request ready > 2013/04/30 14:05:59:331 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Attempt 1 to execute request > 2013/04/30 14:05:59:331 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][rw:]: Set timeout 10000 > 2013/04/30 14:05:59:332 EDT [DEBUG] RequestAddCookies - CookieSpec selected: best-match > 2013/04/30 14:05:59:343 EDT [DEBUG] RequestAuthCache - Auth cache not set in the context > 2013/04/30 14:05:59:343 EDT [DEBUG] RequestTargetAuthentication - Target auth state: UNCHALLENGED > 2013/04/30 14:05:59:343 EDT [DEBUG] RequestProxyAuthentication - Proxy auth state: UNCHALLENGED > 2013/04/30 14:05:59:344 EDT [DEBUG] headers - http-outgoing-1 >> POST /multipleFunctions/mymagic HTTP/1.1 > 2013/04/30 14:05:59:344 EDT [DEBUG] headers - http-outgoing-1 >> Content-Type: application/x-google-protobuf > 2013/04/30 14:05:59:344 EDT [DEBUG] headers - http-outgoing-1 >> Content-Length: 19 > 2013/04/30 14:05:59:344 EDT [DEBUG] headers - http-outgoing-1 >> Host: aastolfi-deb6-64:9910 > 2013/04/30 14:05:59:344 EDT [DEBUG] headers - http-outgoing-1 >> Connection: Keep-Alive > 2013/04/30 14:05:59:344 EDT [DEBUG] headers - http-outgoing-1 >> User-Agent: com.mathworks.mps.client.internal.MWHttpHandlerApache > 2013/04/30 14:05:59:346 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][rw:]: Event set [w] > 2013/04/30 14:05:59:347 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][rw:w]: 229 bytes written > 2013/04/30 14:05:59:347 EDT [DEBUG] wire - http-outgoing-1 >> "POST /multipleFunctions/mymagic HTTP/1.1[\r][\n]" > 2013/04/30 14:05:59:347 EDT [DEBUG] wire - http-outgoing-1 >> "Content-Type: application/x-google-protobuf[\r][\n]" > 2013/04/30 14:05:59:347 EDT [DEBUG] wire - http-outgoing-1 >> "Content-Length: 19[\r][\n]" > 2013/04/30 14:05:59:347 EDT [DEBUG] wire - http-outgoing-1 >> "Host: aastolfi-deb6-64:9910[\r][\n]" > 2013/04/30 14:05:59:347 EDT [DEBUG] wire - http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]" > 2013/04/30 14:05:59:347 EDT [DEBUG] wire - http-outgoing-1 >> "User-Agent: com.mathworks.mps.client.internal.MWHttpHandlerApache[\r][\n]" > 2013/04/30 14:05:59:347 EDT [DEBUG] wire - http-outgoing-1 >> "[\r][\n]" > 2013/04/30 14:05:59:348 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Output ready > 2013/04/30 14:05:59:348 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] produce content > 2013/04/30 14:05:59:348 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][rw:w]: 19 bytes written > 2013/04/30 14:05:59:348 EDT [DEBUG] wire - http-outgoing-1 >> "[0x8][0x1][0x12][0xf][0x8][0x5][0x12][0x2][0x1][0x1][0xffffffaa][0x1][0x6][\n]" > 2013/04/30 14:05:59:348 EDT [DEBUG] wire - http-outgoing-1 >> "[0x4][0x3][0x0][0x0][0x0]" > 2013/04/30 14:05:59:348 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Request completed > 2013/04/30 14:05:59:348 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] [content length: 19; pos: 19; completed: true] > 2013/04/30 14:05:59:348 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][r:w]: Event cleared [w] > 2013/04/30 14:05:59:349 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Request ready > 2013/04/30 14:05:59:500 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][r:r]: 96 bytes read > 2013/04/30 14:05:59:500 EDT [DEBUG] wire - http-outgoing-1 << "HTTP/1.1 404 Component not found. (request id=0:532:0)[\r][\n]" > 2013/04/30 14:05:59:500 EDT [DEBUG] wire - http-outgoing-1 << "Content-Length: 0[\r][\n]" > 2013/04/30 14:05:59:500 EDT [DEBUG] wire - http-outgoing-1 << "Connection: close[\r][\n]" > 2013/04/30 14:05:59:501 EDT [DEBUG] wire - http-outgoing-1 << "[\r][\n]" > 2013/04/30 14:05:59:507 EDT [DEBUG] headers - http-outgoing-1 << HTTP/1.1 404 Component not found. (request id=0:532:0) > 2013/04/30 14:05:59:508 EDT [DEBUG] headers - http-outgoing-1 << Content-Length: 0 > 2013/04/30 14:05:59:508 EDT [DEBUG] headers - http-outgoing-1 << Connection: close > 2013/04/30 14:05:59:508 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Response received > 2013/04/30 14:05:59:508 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Response received HTTP/1.1 404 Component not found. (request id=0:532:0) > 2013/04/30 14:05:59:513 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Input ready > 2013/04/30 14:05:59:513 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Consume content > 2013/04/30 14:05:59:514 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][r:r]: 0 bytes read > 2013/04/30 14:05:59:515 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53408<->172.28.9.108:9910[ACTIVE][r:r]: Close > 2013/04/30 14:05:59:515 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Response fully read > 2013/04/30 14:05:59:516 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Connection cannot be kept alive > 2013/04/30 14:05:59:516 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Response processed > 2013/04/30 14:05:59:516 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] releasing connection [id:1][route:{}->http://aastolfi-deb6-64:9910][state:null] > 2013/04/30 14:05:59:516 EDT [DEBUG] IOSessionImpl - http-outgoing-1 0.0.0.0:53408<->172.28.9.108:9910[CLOSED][]: Remove attribute http.nio.exchange-handler > 2013/04/30 14:05:59:516 EDT [DEBUG] IOSessionImpl - http-outgoing-1 0.0.0.0:53408<->172.28.9.108:9910[CLOSED][]: Shutdown > 2013/04/30 14:05:59:516 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection released: [id: 1][route: {}->http://aastolfi-deb6-64:9910][total kept alive: 0; route allocated: 0 of 10; total allocated: 0 of 20] > 2013/04/30 14:05:59:517 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [CLOSED] [content length: 0; pos: 0; completed: true] > 2013/04/30 14:05:59:517 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [CLOSED]: Disconnected > 2013/04/30 14:05:59:517 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection manager is shutting down > completed: > com.mathworks.mps.client.MWHttpException: Failed HTTP request; Response Status: 404, Response Message: Component not found. (request id=0:532:0) > 2013/04/30 14:05:59:520 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection manager shut down > > > FAILURE LOG (Wire + Context) > > 2013/04/30 14:06:45:778 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] start execution > 2013/04/30 14:06:45:790 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Request connection for {}->http://aastolfi-deb6-64:9910 > 2013/04/30 14:06:45:793 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection request: [route: {}->http://aastolfi-deb6-64:9910][total kept alive: 0; route allocated: 0 of 10; total allocated: 0 of 20] > 2013/04/30 14:06:45:838 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection leased: [id: 1][route: {}->http://aastolfi-deb6-64:9910][total kept alive: 0; route allocated: 1 of 10; total allocated: 0 of 20] > 2013/04/30 14:06:45:840 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Connection allocated: [id:1][route:{}->http://aastolfi-deb6-64:9910][state:null] > 2013/04/30 14:06:45:863 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][r:]: Set attribute http.nio.exchange-handler > 2013/04/30 14:06:45:863 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][rw:]: Event set [w] > 2013/04/30 14:06:45:863 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE]: Connected > 2013/04/30 14:06:45:864 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][rw:]: Set attribute http.nio.http-exchange-state > 2013/04/30 14:06:45:864 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Request ready > 2013/04/30 14:06:45:865 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Attempt 1 to execute request > 2013/04/30 14:06:45:865 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][rw:]: Set timeout 10000 > 2013/04/30 14:06:45:867 EDT [DEBUG] RequestAddCookies - CookieSpec selected: best-match > 2013/04/30 14:06:45:881 EDT [DEBUG] RequestAuthCache - Auth cache not set in the context > 2013/04/30 14:06:45:881 EDT [DEBUG] RequestTargetAuthentication - Target auth state: UNCHALLENGED > 2013/04/30 14:06:45:882 EDT [DEBUG] RequestProxyAuthentication - Proxy auth state: UNCHALLENGED > 2013/04/30 14:06:45:882 EDT [DEBUG] headers - http-outgoing-1 >> POST /multipleFunctions/mymagic HTTP/1.1 > 2013/04/30 14:06:45:883 EDT [DEBUG] headers - http-outgoing-1 >> Content-Type: application/x-google-protobuf > 2013/04/30 14:06:45:883 EDT [DEBUG] headers - http-outgoing-1 >> Content-Length: 19 > 2013/04/30 14:06:45:883 EDT [DEBUG] headers - http-outgoing-1 >> Host: aastolfi-deb6-64:9910 > 2013/04/30 14:06:45:883 EDT [DEBUG] headers - http-outgoing-1 >> Connection: Keep-Alive > 2013/04/30 14:06:45:883 EDT [DEBUG] headers - http-outgoing-1 >> User-Agent: com.mathworks.mps.client.internal.MWHttpHandlerApache > 2013/04/30 14:06:45:885 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][rw:]: Event set [w] > 2013/04/30 14:06:45:886 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][rw:w]: 229 bytes written > 2013/04/30 14:06:45:886 EDT [DEBUG] wire - http-outgoing-1 >> "POST /multipleFunctions/mymagic HTTP/1.1[\r][\n]" > 2013/04/30 14:06:45:886 EDT [DEBUG] wire - http-outgoing-1 >> "Content-Type: application/x-google-protobuf[\r][\n]" > 2013/04/30 14:06:45:886 EDT [DEBUG] wire - http-outgoing-1 >> "Content-Length: 19[\r][\n]" > 2013/04/30 14:06:45:886 EDT [DEBUG] wire - http-outgoing-1 >> "Host: aastolfi-deb6-64:9910[\r][\n]" > 2013/04/30 14:06:45:886 EDT [DEBUG] wire - http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]" > 2013/04/30 14:06:45:886 EDT [DEBUG] wire - http-outgoing-1 >> "User-Agent: com.mathworks.mps.client.internal.MWHttpHandlerApache[\r][\n]" > 2013/04/30 14:06:45:886 EDT [DEBUG] wire - http-outgoing-1 >> "[\r][\n]" > 2013/04/30 14:06:45:887 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Output ready > 2013/04/30 14:06:45:887 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] produce content > 2013/04/30 14:06:45:887 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][rw:w]: 19 bytes written > 2013/04/30 14:06:45:887 EDT [DEBUG] wire - http-outgoing-1 >> "[0x8][0x1][0x12][0xf][0x8][0x5][0x12][0x2][0x1][0x1][0xffffffaa][0x1][0x6][\n]" > 2013/04/30 14:06:45:887 EDT [DEBUG] wire - http-outgoing-1 >> "[0x4][0x3][0x0][0x0][0x0]" > 2013/04/30 14:06:45:887 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] Request completed > 2013/04/30 14:06:45:887 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] [content length: 19; pos: 19; completed: true] > 2013/04/30 14:06:45:887 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][r:w]: Event cleared [w] > 2013/04/30 14:06:45:888 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] Request ready > 2013/04/30 14:06:45:888 EDT [ERROR] HttpAsyncRequestExecutor - http-outgoing-1 [ACTIVE] HTTP protocol exception: An established connection was aborted by the software in your host machine java.io.IOException: An established connection was aborted by the software in your host machine > at sun.nio.ch.SocketDispatcher.read0(Native Method) > at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) > at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:225) > at sun.nio.ch.IOUtil.read(IOUtil.java:198) > at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:359) > at org.apache.http.impl.nio.conn.LoggingIOSession$LoggingByteChannel.read(LoggingIOSession.java:187) > at org.apache.http.impl.nio.reactor.SessionInputBufferImpl.fill(SessionInputBufferImpl.java:100) > at org.apache.http.impl.nio.codecs.AbstractMessageParser.fillBuffer(AbstractMessageParser.java:115) > at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:157) > at org.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:124) > at org.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:48) > at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:112) > at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:333) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:311) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:271) > at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:592) > at java.lang.Thread.run(Thread.java:722) > > 2013/04/30 14:06:45:889 EDT [DEBUG] IOSessionImpl - http-outgoing-1 172.28.9.179:53452<->172.28.9.108:9910[ACTIVE][r:r]: Shutdown > java.io.IOException: An established connection was aborted by the software in your host machine > at sun.nio.ch.SocketDispatcher.read0(Native Method) > at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) > at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:225) > at sun.nio.ch.IOUtil.read(IOUtil.java:198) > at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:359) > at org.apache.http.impl.nio.conn.LoggingIOSession$LoggingByteChannel.read(LoggingIOSession.java:187) > at org.apache.http.impl.nio.reactor.SessionInputBufferImpl.fill(SessionInputBufferImpl.java:100) > at org.apache.http.impl.nio.codecs.AbstractMessageParser.fillBuffer(AbstractMessageParser.java:115) > at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:157) > at org.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:124) > at org.apache.http.impl.nio.DefaultHttpClientIODispatch.onInputReady(DefaultHttpClientIODispatch.java:48) > at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:112) > at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:333) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:311) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:271) > at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:592) > at java.lang.Thread.run(Thread.java:722) > 2013/04/30 14:06:45:890 EDT [DEBUG] DefaultHttpAsyncClient - [exchange: 1] aborting connection [id:1][route:{}->http://aastolfi-deb6-64:9910][state:null] > 2013/04/30 14:06:45:890 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection manager is shutting down > 2013/04/30 14:06:45:890 EDT [DEBUG] IOSessionImpl - http-outgoing-1 0.0.0.0:53452<->172.28.9.108:9910[CLOSED][]: Shutdown > 2013/04/30 14:06:45:890 EDT [DEBUG] IOSessionImpl - http-outgoing-1 0.0.0.0:53452<->172.28.9.108:9910[CLOSED][]: Shutdown > 2013/04/30 14:06:45:890 EDT [DEBUG] HttpAsyncRequestExecutor - http-outgoing-1 [CLOSED]: Disconnected > 2013/04/30 14:06:45:891 EDT [DEBUG] IOSessionImpl - http-outgoing-1 0.0.0.0:53452<->172.28.9.108:9910[CLOSED][]: Shutdown > java.io.IOException: An established connection was aborted by the software in your host machine > 2013/04/30 14:06:45:892 EDT [DEBUG] PoolingClientAsyncConnectionManager - Connection manager shut down > > > > Thanks a lot! > Poonam > Poonam I am sorry but I see nothing wrong about the way HttpAsyncClient handles the exchange. As far as I can tell the connection gets terminated before the client manages to get a response. I appears that for some reason the i/o reactor gets terminated prematurely and shuts down all active connections. If you can reproduce the problem with a test case, I can have a look at it. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org