hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jaikit savla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-370) Race condition if connection request succeeds and times out at the same time
Date Fri, 17 Jan 2014 07:07:19 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874519#comment-13874519
] 

jaikit savla commented on HTTPCORE-370:
---------------------------------------

Sure - I will re-test the application with fix and let you know how it goes.

Thanks,
Jaikit



On Thursday, January 16, 2014 1:01 PM, Oleg Kalnichevski (JIRA) <jira@apache.org> wrote:

    [ 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




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)



> 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


Mime
View raw message