Request cannot be executed i/o reactor status stopped

request cannot be executed i/o reactor status stopped.

Please help me how to solve this issue

Can you give more context? Hard to answer without knowing anything.

Index : requirement
Type : requirement
java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED
at org.apache.http.util.Asserts.check(
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(
at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(
at org.elasticsearch.client.RestClient.performRequestAsync(
at org.elasticsearch.client.RestClient.performRequestAsyncNoCatch(
at org.elasticsearch.client.RestClient.performRequest(
at org.elasticsearch.client.RestHighLevelClient.performRequest(
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(
at com.bis.sourcelead.elk.setup.SourceleadELKBaseIndexer.searchDocumentWithMaxResults(SourceleadELKBaseInd

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:


This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.

How can we reproduce?

This sounds similar to The problem in that issue is caused by throwing an exception in an onFailure method in the client application code. This causes the connection to be closed and subsequent requests will fail with the error reported here.

I believe this also affects the high level client if using any of the methods reporting response/failure back through an ActionListener (I think all of them have suffix Async in their method names).

The workaround is to ensure that no exceptions are thrown out of your onFailure methods.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.