You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Loganathan (JIRA)" <ji...@apache.org> on 2017/12/08 13:01:05 UTC

[jira] [Commented] (HTTPASYNC-130) ConnectionClosed Exception

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

Loganathan commented on HTTPASYNC-130:
--------------------------------------

Thanks  for the reply. Is document/API available to implement the request recovery mechanism ?

> ConnectionClosed Exception
> --------------------------
>
>                 Key: HTTPASYNC-130
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-130
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.1.3
>            Reporter: Loganathan
>
> While invoking a server side API using http async library, the below exception is thrown:
> 			at org.apache.http.concurrent.BasicFuture.failed(BasicFuture.java:134)
> 			at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.failed(AbstractClientExchangeHandler.java:414)
> 			at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:321)
> 			at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:263)
> 			at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
> 			at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
> 			at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:123)
> 			at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:164)
> 			at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:339)
> 			at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317)
> 			at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278)
> 			at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
> 			at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
> 			at java.lang.Thread.run(Thread.java:745)
> This exception is not consistent with the particular API. It is occurring randomly for different API's. At the same time, this exception didn't occur while invoking the same API(s) using normal http client.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org