# Connection reset by peer in 6.8 ES with 6.1.4 client

**URL:** <https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605>\
**Category:** Elasticsearch\
**Created:** [November 27, 2019, 4:35am UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605 "2019-11-27T04:35:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikuland](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nikuland](https://discuss.elastic.co/u/nikuland)\
**Post date:** [November 27, 2019, 4:35am UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/1 "2019-11-27T04:35:25Z")

</div>

Often we are seeing "Connection reset by Peer" after migrating to ES 6.8. We are still using ES 6.1.4 client. It recovers, but often there is Connection reset by Peer.

Any solution or how can this be debugged.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 27, 2019, 5:47am UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/2 "2019-11-27T05:47:13Z")

</div>

I would recommend upgrading to the 6.8 client and see if this makes a difference. You should always use the same version of the client as the server. There are quite a lot of changes that have gone in between 6.1 and 6.8 which could cause problems.

---

<div class="post-metadata">

**Author:** ![nikuland](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nikuland](https://discuss.elastic.co/u/nikuland)\
**Post date:** [November 27, 2019, 7:52pm UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/3 "2019-11-27T19:52:19Z")

</div>

Ok, planning on upgrading to the 6.8 client. However, what other reasons could cause this issue

---

<div class="post-metadata">

**Author:** ![nikuland](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nikuland](https://discuss.elastic.co/u/nikuland)\
**Post date:** [November 27, 2019, 7:53pm UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/4 "2019-11-27T19:53:01Z")

</div>

Could less number of available thread can cause this or how can i go about root cause this .thanks

---

<div class="post-metadata">

**Author:** ![nikuland](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nikuland](https://discuss.elastic.co/u/nikuland)\
**Post date:** [December 18, 2019, 10:17pm UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/5 "2019-12-18T22:17:53Z")

</div>

Updated ES client -- still having same issues. Any suggestions

---

<div class="post-metadata">

**Author:** ![nikuland](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nikuland](https://discuss.elastic.co/u/nikuland)\
**Post date:** [January 11, 2020, 12:26am UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/6 "2020-01-11T00:26:08Z")

</div>

After upgrading the client we still see issue. Anyone faced similar issues. Or pointers to debug this issues

---

<div class="post-metadata">

**Author:** ![nikuland](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nikuland](https://discuss.elastic.co/u/nikuland)\
**Post date:** [January 13, 2020, 5:59pm UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/7 "2020-01-13T17:59:40Z")

</div>

We are sseeing this because of the idle connection timeout. But in this case, i thougth the REstClient is supposed to retry all other nodes. WHy i dont see that happening.

---

<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:** [February 10, 2020, 5:59pm UTC](https://discuss.elastic.co/t/connection-reset-by-peer-in-6-8-es-with-6-1-4-client/209605/8 "2020-02-10T17:59:48Z")

</div>

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