# RE: NoNodeAvailableException\[None of the configured nodes are available: \[{#transport#-1}{DzxzK0iPRpWhbsQrG1XL-Q}{localhost}{127.0.0.1:9200}\]\]

**URL:** <https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210>\
**Category:** Elasticsearch\
**Created:** [November 4, 2020, 6:34am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210 "2020-11-04T06:34:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![a\_m1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_m1/32/78367_2.png) [@a\_m1](https://discuss.elastic.co/u/a_m1)\
**Post date:** [November 4, 2020, 6:34am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/1 "2020-11-04T06:34:16Z")

</div>

NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{uM03bFC3TFaMt15Oe0ZUpA}{172.17.1.63}{172.17.1.63:9300}]]

I am using spring boot 2.3.4 rest API, elasticsearch 7.9.3, kibana 7.6.2.

I could not able to write document using @postmapping and could not able to read same document from Elasticsearch. kindly please help how to resolve this issue.

and help me with what are the version I should prefer for the combination of Java, spring boot and Elasticsearch.

---

<div class="post-metadata">

**Author:** ![a\_m1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_m1/32/78367_2.png) [@a\_m1](https://discuss.elastic.co/u/a_m1)\
**Post date:** [November 4, 2020, 6:35am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/2 "2020-11-04T06:35:54Z")

</div>

kindly give an reply to any one who has great idea on this topic.

---

<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:** [November 4, 2020, 10:44am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/3 "2020-11-04T10:44:49Z")

</div>

Please be patient in waiting for responses to your question and refrain from pinging multiple times asking for a response or opening multiple topics for the same question. This is a community forum, it may take time for someone to reply to your question. For more information please refer to the [Community Code of Conduct](https://www.elastic.co/community/codeofconduct) specifically the section "Be patient". Also, please refrain from pinging folks directly, this is a forum and anyone that participates might be able to assist you.

If you are in need of a service with an SLA that covers response times for questions then you may want to consider talking to us about a [subscription](https://www.elastic.co/subscriptions).

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.

---

<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:** [November 4, 2020, 10:48am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/4 "2020-11-04T10:48:25Z")

</div>

When using springboot with elasticsearch, you need to be explicit with some transitive dependencies as SpringBoot declares a version 6.4...

Basically you can put this in your `pom.xml`:

```auto
<properties>
  <elasticsearch.version>7.9.3<elasticsearch.version>
</properties>

```

See documentation here: [“How-to” Guides](https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-customize-dependency-versions)

**Some notes:**

> elasticsearch 7.9.3, kibana 7.6.2.

This is not supposed to work well. You must use the same version for the whole Elastic Stack.

> [@a\_m1](#):
>
> I could not able to write document using `@postmapping` and could not able to read same document from Elasticsearch. kindly please help how to resolve this issue.

If it's still the case, you need to provide more information, like code. May be share a full project on github that someone can look at.  
Or ask in spring boot project forums if it's not directly related to elasticsearch.

---

<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:** [November 16, 2020, 9:21am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/7 "2020-11-16T09:21:46Z")

</div>

Not a lot of details here. But it sounds like you are using the TransportClient. Which you should not.

---

<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:** [November 16, 2020, 9:46am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/9 "2020-11-16T09:46:11Z")

</div>

Don't use the TransportClient as [it is deprecated](https://www.elastic.co/guide/en/elasticsearch/client/java-api/7.10/transport-client.html) and will be removed in the next major version. Use the [REST Client](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/7.10/index.html) instead.

---

<div class="post-metadata">

**Author:** ![a\_m1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_m1/32/78367_2.png) [@a\_m1](https://discuss.elastic.co/u/a_m1)\
**Post date:** [November 17, 2020, 4:11am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/10 "2020-11-17T04:11:55Z")

</div>

Hi team,

Please give an alternate solution to modify the query post which I have posted on 4th-November-2020.

Please assist me with the appropriate person for this.

Thanks & regards,  
Malleswara rao.

---

<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:** [November 17, 2020, 7:02am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/11 "2020-11-17T07:02:44Z")

</div>

Where? Link?

---

<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:** [December 15, 2020, 7:02am UTC](https://discuss.elastic.co/t/re-nonodeavailableexception-none-of-the-configured-nodes-are-available-transport-1-dzxzk0iprpwhbsqrg1xl-q-localhost-127-0-0-1-9200/254210/12 "2020-12-15T07:02:49Z")

</div>

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