Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B987710250 for ; Thu, 16 Jan 2014 21:01:26 +0000 (UTC) Received: (qmail 60660 invoked by uid 500); 16 Jan 2014 21:01:22 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 60548 invoked by uid 500); 16 Jan 2014 21:01:21 -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 60428 invoked by uid 99); 16 Jan 2014 21:01:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 21:01:20 +0000 Date: Thu, 16 Jan 2014 21:01:20 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCORE-370) Race condition if connection request succeeds and times out at the same time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCORE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873927#comment-13873927 ] Oleg Kalnichevski commented on HTTPCORE-370: -------------------------------------------- Jaikit I committed a preliminary fix for the problem to the 4.3.x branch http://svn.apache.org/r1558916 Could you please re-test your application using the latest build of httpcore-nio 4.3.2-SNAPSHOT? You will need to build it from source or configure your project to use ASF snapshot repository https://repository.apache.org/content/repositories/snapshots/org/apache/httpcomponents/httpcore-nio/4.3.2-SNAPSHOT/ Oleg > Race condition if connection request succeeds and times out at the same time > ---------------------------------------------------------------------------- > > Key: HTTPCORE-370 > URL: https://issues.apache.org/jira/browse/HTTPCORE-370 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore NIO > Affects Versions: 4.3.1 > Reporter: jaikit savla > Fix For: 4.3.2 > > > 2014-01-11 01:09:07,225 ERROR [pool-3-thread-1] org.apache.http.impl.nio.client.InternalHttpAsyncClient - I/O reactor terminated abnormally > org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker terminated abnormally > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:356) > at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:189) > at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.doExecute(CloseableHttpAsyncClientBase.java:67) > at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.access$000(CloseableHttpAsyncClientBase.java:38) > at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:57) > at java.lang.Thread.run(Thread.java:724) > Caused by: java.lang.IllegalStateException: Connection must be created by connection manager > at org.apache.http.impl.nio.client.InternalIODispatch.createConnection(InternalIODispatch.java:48) > at org.apache.http.impl.nio.client.InternalIODispatch.createConnection(InternalIODispatch.java:37) > at org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:71) > at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:240) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:426) > at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:288) > at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105) > at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584) -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org