I have a service that is expected to execute requests in ~ 5 or more requests / min. This service is dependent on Apache AsyncHttpClient. Every few minutes, clients encounter some state that causes java.lang.IllegalStateException: the request could not be completed; I / O Reactor Status: STOPPED . All client requests begin with the same exception message. After restarting the service, this cycle repeats.
It is very difficult to debug this problem, since failure to execute the request unexpectedly does not call the failed () method callback for AsyncResponse.
From what I could assemble, HTTPCORE-370 in HttpCore NIO was fixed, which resolved a similar problem in 4.3.2, I use the following version - General-HttpClient-3.1.jar httpasyncclient-4.1.1.jar httpcore-4.4.4 .jar httpcore-NiO-4.4.4.jar
But seeing this problem. Any help could be helpful.
knash source share