# None of the configured nodes are available - 127.0.0.1

**URL:** <https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553>\
**Category:** Elasticsearch\
**Created:** [November 28, 2018, 11:02am UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553 "2018-11-28T11:02:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Post date:** [November 28, 2018, 11:02am UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553/1 "2018-11-28T11:02:28Z")

</div>

I'm getting mentioned error in 5.6.3.

NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{Lx1sIaSdTpCXG\_fZQY5p1A}{127.0.0.1}{127.0.0.1:9300}]]

curl "localhost:9200"  
{  
"name" : "",  
"cluster\_name" : "elasticsearch",  
"cluster\_uuid" : "",  
"version" : {  
"number" : "5.6.3",  
"build\_hash" : "",  
"build\_date" : "2017-10-06T20:33:39.012Z",  
"build\_snapshot" : false,  
"lucene\_version" : "6.6.1"  
},  
"tagline" : "You Know, for Search"  
}

I searched all topics realted to this error , nothing helped really

esClient = new PreBuiltTransportClient(Settings.EMPTY)  
.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName("127.0.0.1"),9300));

I'm using settings.EMPTY as my cluster name is commented in elasticsearch.yml

network.host: 127.0.0.1  
transport.tcp.port: 9300

---

<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 28, 2018, 11:26am UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553/2 "2018-11-28T11:26:40Z")

</div>

Check that you don't have any firewall on port 9300.

Also prefer using the rest client instead.

---

<div class="post-metadata">

**Author:** ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Post date:** [November 28, 2018, 11:27am UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553/3 "2018-11-28T11:27:22Z")

</div>

I'm getting below error in elasticsearch log

Caused by: java.io.StreamCorruptedException: invalid internal transport message format, got (ff,f4,ff,fd)  
at org.elasticsearch.transport.TcpTransport.validateMessageHeader(TcpTransport.java:1276) ~[elasticsearch-5.6.3.jar:5.6.3]  
at org.elasticsearch.transport.netty4.Netty4SizeHeaderFrameDecoder.decode(Netty4SizeHeaderFrameDecoder.java:36) ~[?:?]  
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) ~[?:?]  
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) ~[?:?]

what should i check? Its upgraded from ES 1.\* to 5.6.3

---

<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 28, 2018, 12:06pm UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553/4 "2018-11-28T12:06:25Z")

</div>

May be you are not using the same version on both sides (client and server). Or you are using https or something...

---

<div class="post-metadata">

**Author:** ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Post date:** [November 29, 2018, 6:27am UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553/5 "2018-11-29T06:27:27Z")

</div>

Issue was because of conflicting jar io.netty. I got below error  
"NoClassDefFoundError[Could not initialize class io.netty.channel.ChannelOutboundBuffer];"'

Resolved now

---

<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 27, 2018, 6:27am UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available-127-0-0-1/158553/6 "2018-12-27T06:27:28Z")

</div>

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