# Error while sniffing

**URL:** <https://discuss.elastic.co/t/error-while-sniffing/180978>\
**Category:** Elasticsearch\
**Created:** [May 14, 2019, 10:23am UTC](https://discuss.elastic.co/t/error-while-sniffing/180978 "2019-05-14T10:23:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avinash\_07](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@avinash\_07](https://discuss.elastic.co/u/avinash_07)\
**Post date:** [May 14, 2019, 10:23am UTC](https://discuss.elastic.co/t/error-while-sniffing/180978/1 "2019-05-14T10:23:12Z")

</div>

Getting the following error when I am trying to use sniff. Can someone help me fix it?

Elasticsearch version - 6.1.2  
Client - Java high level rest client

`[nt_sniffer[T#1]] org.elasticsearch.client.sniff.Sniffer : error while sniffing nodes`

I am seeing this error being thrown every 5 minutes

---

<div class="post-metadata">

**Author:** ![avinash\_07](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@avinash\_07](https://discuss.elastic.co/u/avinash_07)\
**Post date:** [May 20, 2019, 1:25pm UTC](https://discuss.elastic.co/t/error-while-sniffing/180978/2 "2019-05-20T13:25:18Z")

</div>

Can someone please help?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 20, 2019, 1:50pm UTC](https://discuss.elastic.co/t/error-while-sniffing/180978/3 "2019-05-20T13:50:21Z")

</div>

I'd at least try a more recent version. I have no idea though.  
May be you have a full stacktrace that could give more details?

---

<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:** [June 17, 2019, 1:50pm UTC](https://discuss.elastic.co/t/error-while-sniffing/180978/4 "2019-06-17T13:50:28Z")

</div>

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