I/O reactor status: STOPPED

2016-10-04 Thread Joan Balagueró
Hello,

I'm occassionally receiving this error, and the async pool stops working:

java.lang.IllegalStateException: Request cannot be executed; I/O reactor
status: STOPPED
at org.apache.http.util.Asserts.check(Asserts.java:46)
at
org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(C
loseableHttpAsyncClientBase.java:90)
at
org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttp
AsyncClient.java:123)
at
org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHt
tpAsyncClient.java:68)


I'm using an HttpAsyncResponseConsumer, and I know that one of the reasons
for this error is to throw an exception on the "failed" method. That's why
this method looks like as follows:

@Override
 public void failed(final Exception e)
 {
  try { this.setError(e); }
  catch (Throwable t) {}
 }

Even with this, sometimes the IO reactor stops. Is there anything else I
must take into account in order to avoid this error? Any other method I
should control? What else can cause the IO reactor to be stopped?

Thanks,

Joan.



-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org



Re: I/O reactor status: STOPPED

2016-10-04 Thread Oleg Kalnichevski
On October 4, 2016 12:52:42 PM GMT+02:00, "Joan Balagueró" 
 wrote:
>Hello,
>
>I'm occassionally receiving this error, and the async pool stops
>working:
>
>java.lang.IllegalStateException: Request cannot be executed; I/O
>reactor
>status: STOPPED
>at org.apache.http.util.Asserts.check(Asserts.java:46)
>at
>org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(C
>loseableHttpAsyncClientBase.java:90)
>at
>org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttp
>AsyncClient.java:123)
>at
>org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHt
>tpAsyncClient.java:68)
>
>
>I'm using an HttpAsyncResponseConsumer, and I know that one of the
>reasons
>for this error is to throw an exception on the "failed" method. That's
>why
>this method looks like as follows:
>
>@Override
> public void failed(final Exception e)
> {
>  try { this.setError(e); }
>  catch (Throwable t) {}
> }
>
>Even with this, sometimes the IO reactor stops. Is there anything else
>I
>must take into account in order to avoid this error? Any other method I
>should control? What else can cause the IO reactor to be stopped?
>
>Thanks,
>
>Joan.

Most likely due to a runtime thrown by application code.

Oleg
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org



RE: I/O reactor status: STOPPED

2016-10-04 Thread Joan Balagueró
Within the HttpAsyncResponseConsumer?

Joan.

-Mensaje original-
De: Oleg Kalnichevski [mailto:o...@ok2consulting.com] 
Enviado el: martes, 4 de octubre de 2016 13:59
Para: HttpClient User Discussion; Joan Balagueró
Asunto: Re: I/O reactor status: STOPPED

On October 4, 2016 12:52:42 PM GMT+02:00, "Joan Balagueró" 
 wrote:
>Hello,
>
>I'm occassionally receiving this error, and the async pool stops
>working:
>
>java.lang.IllegalStateException: Request cannot be executed; I/O 
>reactor
>status: STOPPED
>at org.apache.http.util.Asserts.check(Asserts.java:46)
>at
>org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunn
>ing(C
>loseableHttpAsyncClientBase.java:90)
>at
>org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(Interna
>lHttp
>AsyncClient.java:123)
>at
>org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(Closea
>bleHt
>tpAsyncClient.java:68)
>
>
>I'm using an HttpAsyncResponseConsumer, and I know that one of the 
>reasons for this error is to throw an exception on the "failed" method. 
>That's why this method looks like as follows:
>
>@Override
> public void failed(final Exception e)
> {
>  try { this.setError(e); }
>  catch (Throwable t) {}
> }
>
>Even with this, sometimes the IO reactor stops. Is there anything else 
>I must take into account in order to avoid this error? Any other method 
>I should control? What else can cause the IO reactor to be stopped?
>
>Thanks,
>
>Joan.

Most likely due to a runtime thrown by application code.

Oleg
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org




-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org



Re: I/O reactor status: STOPPED

2016-10-04 Thread Oleg Kalnichevski
On Tue, 2016-10-04 at 14:29 +0200, Joan Balagueró wrote:
> Within the HttpAsyncResponseConsumer?
> 

Most likely.

You can use #getAuditLog() method of the I/O reactor to find out exactly
what exception caused it to terminate.

http://hc.apache.org/httpcomponents-core-4.4.x/httpcore-nio/apidocs/org/apache/http/impl/nio/reactor/AbstractMultiworkerIOReactor.html#getAuditLog()

Oleg


> Joan.
> 
> -Mensaje original-
> De: Oleg Kalnichevski [mailto:o...@ok2consulting.com] 
> Enviado el: martes, 4 de octubre de 2016 13:59
> Para: HttpClient User Discussion; Joan Balagueró
> Asunto: Re: I/O reactor status: STOPPED
> 
> On October 4, 2016 12:52:42 PM GMT+02:00, "Joan Balagueró" 
>  wrote:
> >Hello,
> >
> >I'm occassionally receiving this error, and the async pool stops
> >working:
> >
> >java.lang.IllegalStateException: Request cannot be executed; I/O 
> >reactor
> >status: STOPPED
> >at org.apache.http.util.Asserts.check(Asserts.java:46)
> >at
> >org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunn
> >ing(C
> >loseableHttpAsyncClientBase.java:90)
> >at
> >org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(Interna
> >lHttp
> >AsyncClient.java:123)
> >at
> >org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(Closea
> >bleHt
> >tpAsyncClient.java:68)
> >
> >
> >I'm using an HttpAsyncResponseConsumer, and I know that one of the 
> >reasons for this error is to throw an exception on the "failed" method. 
> >That's why this method looks like as follows:
> >
> >@Override
> > public void failed(final Exception e)
> > {
> >  try { this.setError(e); }
> >  catch (Throwable t) {}
> > }
> >
> >Even with this, sometimes the IO reactor stops. Is there anything else 
> >I must take into account in order to avoid this error? Any other method 
> >I should control? What else can cause the IO reactor to be stopped?
> >
> >Thanks,
> >
> >Joan.
> 
> Most likely due to a runtime thrown by application code.
> 
> Oleg
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> 
> -
> To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
> For additional commands, e-mail: httpclient-users-h...@hc.apache.org
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
> For additional commands, e-mail: httpclient-users-h...@hc.apache.org
> 



-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org



apache async httpclient I/O reactor status: STOPPED

2014-01-13 Thread Jaikit Savla
Hello Folks,

I have a service running which depends on apache async httpclient. Versions are 
as mentioned below
commons-httpclient-3.1.jar
httpasyncclient-4.0.jar
httpcore-4.3.jar
httpcore-nio-4.3.jar

Intermittently (after 3 days) all my request failed with below error. 
Unfortunately I do not have the first error which triggered I/O reactor to stop 
and I will keep an eye to get that. Is there any known issue with latest client 
or has anyone see this before ?
Stack when run with latest client.
java.lang.IllegalStateException: Request cannot be executed; I/O reactor 
status: STOPPED
        at org.apache.http.util.Asserts.check(Asserts.java:40)
        at 
org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:112)
        at 
org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:72)
        at 
org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:102)
        at 
org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:87)


I recently upgraded async client from 4.0-beta3 to GA. Previously request 
failed with below error and that was addressed in 
https://issues.apache.org/jira/browse/HTTPCORE-336.
java.lang.IllegalStateException: Client has been shut down
org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:509)
org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:554)
org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:584)
org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:569)

library version
commons-httpclient-3.1.jar
httpasyncclient-4.0-beta3.jar
httpcore-4.3.jar
httpcore-nio-4.2.3.jar

Any help is appreciated.

Thanks,
Jaikit

Re: apache async httpclient I/O reactor status: STOPPED

2014-01-14 Thread Oleg Kalnichevski
On Mon, 2014-01-13 at 18:55 -0800, Jaikit Savla wrote:
> Hello Folks,
> 
> I have a service running which depends on apache async httpclient. Versions 
> are as mentioned below
> commons-httpclient-3.1.jar
> httpasyncclient-4.0.jar
> httpcore-4.3.jar
> httpcore-nio-4.3.jar
> 
> Intermittently (after 3 days) all my request failed with below error. 
> Unfortunately I do not have the first error which triggered I/O reactor to 
> stop and I will keep an eye to get that. Is there any known issue with latest 
> client or has anyone see this before ?
> Stack when run with latest client.
> java.lang.IllegalStateException: Request cannot be executed; I/O reactor 
> status: STOPPED
> at org.apache.http.util.Asserts.check(Asserts.java:40)
> at 
> org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:112)
> at 
> org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:72)
> at 
> org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:102)
> at 
> org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:87)
> 
> 
> I recently upgraded async client from 4.0-beta3 to GA. Previously request 
> failed with below error and that was addressed in 
> https://issues.apache.org/jira/browse/HTTPCORE-336.
> java.lang.IllegalStateException: Client has been shut down
> org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:509)
> org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:554)
> org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:584)
> org.apache.http.impl.nio.client.AbstractHttpAsyncClient.execute(AbstractHttpAsyncClient.java:569)
> 
> library version
> commons-httpclient-3.1.jar
> httpasyncclient-4.0-beta3.jar
> httpcore-4.3.jar
> httpcore-nio-4.2.3.jar
> 
> Any help is appreciated.
> 
> Thanks,
> Jaikit

Jaikit,

There are no known issues of this nature with the latest 4.2 and 4.3
releases. I really would need to see the stack trace of the original
exception to be of any help.

Oleg  



-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org



Re: apache async httpclient I/O reactor status: STOPPED

2014-01-14 Thread Jaikit Savla
Hi Oleg,

I got the error again. Please find the stack trace below. If I get to reproduce 
it consistently - I will upload a test case.

This time I see there are couple of SocketTimeoutExceptions before I/O reactor 
termites abnormally
Caused by: java.net.SocketTimeoutException
        at 
org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:166)
        at 
org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:546)
        at 
org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:750)
        at 
org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:177)
        at 
org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213)
        at 
org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:157)
        at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:348)
        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)
        ... 1 more



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)



On Tuesday, January 14, 2014 3:04 AM, Oleg Kalnichevski  
wrote:

On Mon, 2014-01-13 at 18:55 -0800, Jaikit Savla wrote:

> Hello Folks,
> 
> I have a service running which depends on apache async httpclient. Versions 
> are as mentioned below
> commons-httpclient-3.1.jar
> httpasyncclient-4.0.jar
> httpcore-4.3.jar
> httpcore-nio-4.3.jar
> 
> Intermittently (after 3 days) all my request failed with below error. 
> Unfortunately I do not have the first error which triggered I/O reactor to 
> stop and I will keep an eye to get that. Is there any known issue with latest 
> client or has anyone see this before ?
> Stack when run with latest client.
> java.lang.IllegalStateException: Request cannot be executed; I/O reactor 
> status: STOPPED
>         at org.apache.http.util.Asserts.check(Asserts.java:40)
>         at 
>org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:112)
>         at 
>org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:72)
>         at 
>org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:102)
>         at 
>org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:87)
> 
> 
> I recently upgraded async client from 4.0-beta3 to GA. Previously request 
> failed with below error and that was addressed in 
> https://issues.apache.

Re: apache async httpclient I/O reactor status: STOPPED

2014-01-15 Thread Oleg Kalnichevski
On Tue, 2014-01-14 at 22:07 -0800, Jaikit Savla wrote:
> Hi Oleg,
> 
> I got the error again. Please find the stack trace below. If I get to 
> reproduce it consistently - I will upload a test case.
> 
> This time I see there are couple of SocketTimeoutExceptions before I/O 
> reactor termites abnormally
> Caused by: java.net.SocketTimeoutException
> at 
> org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:166)
> at 
> org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:546)
> at 
> org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:750)
> at 
> org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:177)
> at 
> org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213)
> at 
> org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:157)
> at 
> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:348)
> 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)
> ... 1 more
> 
> 
> 
> 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 looks like a bug in HttpAsyncClient. Please raise a JIRA for this
defect.

Oleg



-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org



Re: apache async httpclient I/O reactor status: STOPPED

2014-01-15 Thread Jaikit Savla
Created jira https://issues.apache.org/jira/browse/HTTPASYNC-66


Jaikit


On Wednesday, January 15, 2014 5:41 AM, Oleg Kalnichevski  
wrote:
On Tue, 2014-01-14 at 22:07 -0800, Jaikit Savla wrote:
> Hi Oleg,
> 
> I got the error again. Please find the stack trace below. If I get to 
> reproduce it consistently - I will upload a test case.
> 
> This time I see there are couple of SocketTimeoutExceptions before I/O 
> reactor termites abnormally
> Caused by: java.net.SocketTimeoutException
>         at 
>org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:166)
>         at 
>org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:546)
>         at 
>org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:750)
>         at 
>org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:177)
>         at 
>org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:213)
>         at 
>org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:157)
>         at 
>org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:348)
>         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)
>         ... 1 more
> 
> 
> 
> 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 looks like a bug in HttpAsyncClient. Please raise a JIRA for this
defect.


Oleg



-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org