# java.lang.RuntimeException - I/O reactor status: STOPPED

**URL:** <https://discuss.elastic.co/t/java-lang-runtimeexception-i-o-reactor-status-stopped/267222>\
**Category:** Elasticsearch\
**Created:** [March 15, 2021, 6:35am UTC](https://discuss.elastic.co/t/java-lang-runtimeexception-i-o-reactor-status-stopped/267222 "2021-03-15T06:35:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sriram8894](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@Sriram8894](https://discuss.elastic.co/u/Sriram8894)\
**Post date:** [March 15, 2021, 6:35am UTC](https://discuss.elastic.co/t/java-lang-runtimeexception-i-o-reactor-status-stopped/267222/1 "2021-03-15T06:35:30Z")

</div>

We are getting the below error while executing the search requests. We are using ElasticSearch 7.6v

`java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED `  
We are only using sync method to execute the requests. Below is the code snippet.

```
`client.search(searchRequest,RequestOptions.DEFAULT)`

```

When the first time the issue occurs looks like it stops the RestHighLevelClient and the subsequent calls are getting failed with the same error. we need to restart our app to initialize the client again. From last two days, we are running into this issue very frequently.

Note: we are not closing the client for every call. We initiate the client during application startup and close it only when the app is getting shut down.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 12, 2021, 6:35am UTC](https://discuss.elastic.co/t/java-lang-runtimeexception-i-o-reactor-status-stopped/267222/2 "2021-04-12T06:35:32Z")

</div>

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