# IOException : Connection reset by peer

**URL:** <https://discuss.elastic.co/t/ioexception-connection-reset-by-peer/237227>\
**Category:** Elasticsearch\
**Created:** [June 16, 2020, 6:44am UTC](https://discuss.elastic.co/t/ioexception-connection-reset-by-peer/237227 "2020-06-16T06:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhushan\_Kakulte](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhushan_kakulte/32/70434_2.png) [@Bhushan\_Kakulte](https://discuss.elastic.co/u/Bhushan_Kakulte)\
**Post date:** [June 16, 2020, 6:44am UTC](https://discuss.elastic.co/t/ioexception-connection-reset-by-peer/237227/1 "2020-06-16T06:44:35Z")

</div>

Hi Guy,

I am getting IOException (Connection reset by peer) intermittently while doing search and index query using highEndClient. We didn't figure out any issue at server side. I also tried to tweak with keepAliveTiming and timeout setting mentioned in few of the threads. Can some one help me on this?  
ES Version : 7.4  
HighEndClient Version : 7.4.2

Stack trace  
java.io.IOException: Connection reset by peer  
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:793)  
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:218)  
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:205)  
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1454)  
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1424)  
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1394)  
at org.elasticsearch.client.RestHighLevelClient.index(RestHighLevelClient.java:836)

---

<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:** [July 14, 2020, 6:44am UTC](https://discuss.elastic.co/t/ioexception-connection-reset-by-peer/237227/2 "2020-07-14T06:44:42Z")

</div>

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