RestHighLevelClient Request cannot be executed I/O reactor status: STOPPED

I am getting the below error while executing the search requests. We are using ElasticSearch 6.8.6 and the same version of RestHighLevel client

java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED
Only sync methods are used to execute the requests. Sample snippet is shown below.


When the first time the issue occurs looks like it stops the RestHighLevelClient and the subsequent calls are getting failed with the same error. It requires the app restart to initialize the client again. Now I am running into this issue very frequently, like every week

Note: The client for every call is not closed after every call. The client is initiated during application startup and close it only when the application stops

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