# Exception occurred java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED

**URL:** <https://discuss.elastic.co/t/exception-occurred-java-lang-runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/244479>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [August 11, 2020, 2:23am UTC](https://discuss.elastic.co/t/exception-occurred-java-lang-runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/244479 "2020-08-11T02:23:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![reddroid](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@reddroid](https://discuss.elastic.co/u/reddroid)\
**Post date:** [August 11, 2020, 2:23am UTC](https://discuss.elastic.co/t/exception-occurred-java-lang-runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/244479/1 "2020-08-11T02:23:37Z")

</div>

```
 Exception occurred java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED
        at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:831)
        at org.elasticsearch.client.RestClient.performRequest(RestClient.java:248)
        at org.elasticsearch.client.RestClient.performRequest(RestClient.java:235)
        at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1514)
        at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1484)
        at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1454)
        at org.elasticsearch.client.RestHighLevelClient.get(RestHighLevelClient.java:742)

```

Seeing this on Elasticsearch high level client 7.5.2

We are not using any aysnc queries . We are using synchronous queries to index documents like this

```
 indexResponse = client.index(request, RequestOptions.DEFAULT);

```

The first time this issue occurs it looks like it stops the RestHighLevelClient instance and then all subsequent queries from this box fails .

I have seen other similar issue which talks about not handling onfailure methods with async requests . Here , i'm not using any async methods so not sure how to fix this .

---

<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:** [September 8, 2020, 2:23am UTC](https://discuss.elastic.co/t/exception-occurred-java-lang-runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/244479/2 "2020-09-08T02:23:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [September 17, 2020, 5:07pm UTC](https://discuss.elastic.co/t/exception-occurred-java-lang-runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/244479/3 "2020-09-17T17:07:43Z")

</div>

@reddroid

you mentioned that once it failed first time, it continues to fail. I wanted to be sure that the error you list above is for that first failure and not one of the subsequent ones.
