# No node available

**URL:** <https://discuss.elastic.co/t/no-node-available/18263>\
**Category:** Elasticsearch\
**Created:** [June 23, 2014, 12:47pm UTC](https://discuss.elastic.co/t/no-node-available/18263 "2014-06-23T12:47:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [June 23, 2014, 12:47pm UTC](https://discuss.elastic.co/t/no-node-available/18263/1 "2014-06-23T12:47:52Z")

</div>

I've just tried the first example with java, following  
[http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html)  
and  
[http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/index\_.html](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/index_.html).  
When I ran this sample, got an NoNodeAvailableException.

The code and the exception are in the following:

[https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG](https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG)

[https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG](https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG)

I've searched some posted questions which are also like mine and followed  
the suggestions to rectify my codes. But it didn't work.

Does anybody have an idea? Any pointer would be appreciated!

Thanks in advance!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bb5ac8e6-2684-4ac5-9253-554e3a5f4a8a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bb5ac8e6-2684-4ac5-9253-554e3a5f4a8a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [June 23, 2014, 2:13pm UTC](https://discuss.elastic.co/t/no-node-available/18263/2 "2014-06-23T14:13:53Z")

</div>

The log file has this content:

[2014-06-23 16:07:32,313][WARN][transport.netty] [Boost]  
exception caught on transport layer [[id: 0x0d18c137, /127.0.0.1:55654 :\>  
/127.0.0.1:9300]], closing connection  
java.io.StreamCorruptedException: invalid internal transport message format  
at  
org.elasticsearch.transport.netty.SizeHeaderFrameDecoder.decode(SizeHeaderFrameDecoder.java:27)  
at  
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:425)  
at  
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)  
at  
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)  
at  
org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
at  
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)  
at  
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)  
at  
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)  
at  
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109)  
at  
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)  
at  
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)  
at  
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)  
at  
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)  
at  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
at java.lang.Thread.run(Thread.java:744)

在 2014年6月23日星期一UTC+2下午2时47分52秒，Aaliyah写道：

> I've just tried the first example with java, following  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html)  
> and  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/index_.html).  
> When I ran this sample, got an NoNodeAvailableException.
> 
> The code and the exception are in the following:
> 
> [https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG](https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG)
> 
> [https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG](https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG)
> 
> I've searched some posted questions which are also like mine and followed  
> the suggestions to rectify my codes. But it didn't work.
> 
> Does anybody have an idea? Any pointer would be appreciated!
> 
> Thanks in advance!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [June 23, 2014, 2:51pm UTC](https://discuss.elastic.co/t/no-node-available/18263/3 "2014-06-23T14:51:29Z")

</div>

Are you using the same version of the Elasticsearch jar with respect to the  
server? Which version are you using? Do you have any added jar dependencies  
to your project such as netty or Lucene?

--  
Ivan

On Mon, Jun 23, 2014 at 7:13 AM, Aaliyah [zhangqi1221@gmail.com](mailto:zhangqi1221@gmail.com) wrote:

> The log file has this content:
> 
> [2014-06-23 16:07:32,313][WARN][transport.netty] [Boost]  
> exception caught on transport layer [[id: 0x0d18c137, /127.0.0.1:55654 :\>  
> /127.0.0.1:9300]], closing connection  
> java.io.StreamCorruptedException: invalid internal transport message format  
> at  
> org.elasticsearch.transport.netty.SizeHeaderFrameDecoder.decode(SizeHeaderFrameDecoder.java:27)  
> at  
> org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:425)  
> at  
> org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)  
> at  
> org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)  
> at  
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
> at  
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)  
> at  
> org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)  
> at  
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
> at  
> org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)  
> at  
> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)  
> at  
> org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)  
> at  
> org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)  
> at  
> org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
> at java.lang.Thread.run(Thread.java:744)
> 
> 在 2014年6月23日星期一UTC+2下午2时47分52秒，Aaliyah写道：
> 
> > I've just tried the first example with java, following [http://www](http://www).  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/en/elasticsearch/client/java-api/)  
> > current/client.html and [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/)  
> > en/elasticsearch/client/java-api/current/index\_.html. When I ran this  
> > sample, got an NoNodeAvailableException.
> > 
> > The code and the exception are in the following:
> > 
> > [https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG](https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG)
> > 
> > [https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG](https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG)
> > 
> > I've searched some posted questions which are also like mine and followed  
> > the suggestions to rectify my codes. But it didn't work.
> > 
> > Does anybody have an idea? Any pointer would be appreciated!
> > 
> > Thanks in advance!
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDji\_RhphTBT2QGAbgmZ974utCTHKscaszJAdibxbEdpw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDji_RhphTBT2QGAbgmZ974utCTHKscaszJAdibxbEdpw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Aaliyah](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaliyah](https://discuss.elastic.co/u/Aaliyah)\
**Post date:** [June 23, 2014, 9:54pm UTC](https://discuss.elastic.co/t/no-node-available/18263/4 "2014-06-23T21:54:40Z")

</div>

I'm using:  
Titan 0.4.2  
Tinkerpop 0.2.4  
Cassandra 2.0.7  
Elasticsearch 1.2.1

I did not add netty and lucene dependencies to my project indeed. But after  
I've done that, still got the same problem.

[https://lh6.googleusercontent.com/-BkWBCDrK89k/U6ifRxgOBZI/AAAAAAAAAHU/Yw-A2mDZM0A/s1600/4.PNG](https://lh6.googleusercontent.com/-BkWBCDrK89k/U6ifRxgOBZI/AAAAAAAAAHU/Yw-A2mDZM0A/s1600/4.PNG)

In fact, I added lucene-core of version 4.4.0 which is included in the lib  
folder of titan 0.4.2. But the problem was still there and there's another  
version 4.8.1 in the lib folder of elasticsearch 1.2.1. Then I tried the  
latter again. As you see, the same problem.

Earlier I also tried elasticsearch 0.90.3 which is said to be a compitable  
version with titan 0.4.2. It didn't work.

Am Montag, 23. Juni 2014 16:51:37 UTC+2 schrieb Ivan Brusic:

> Are you using the same version of the Elasticsearch jar with respect to  
> the server? Which version are you using? Do you have any added jar  
> dependencies to your project such as netty or Lucene?
> 
> --  
> Ivan
> 
> On Mon, Jun 23, 2014 at 7:13 AM, Aaliyah \<[zhang...@gmail.com](mailto:zhang...@gmail.com) \<javascript:\>
> 
> > wrote:
> 
> > The log file has this content:
> > 
> > [2014-06-23 16:07:32,313][WARN][transport.netty] [Boost]  
> > exception caught on transport layer [[id: 0x0d18c137, /127.0.0.1:55654  
> > :\> /127.0.0.1:9300]], closing connection  
> > java.io.StreamCorruptedException: invalid internal transport message  
> > format  
> > at  
> > org.elasticsearch.transport.netty.SizeHeaderFrameDecoder.decode(SizeHeaderFrameDecoder.java:27)  
> > at  
> > org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:425)  
> > at  
> > org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)  
> > at  
> > org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)  
> > at  
> > org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
> > at  
> > org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)  
> > at  
> > org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)  
> > at  
> > org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)  
> > at  
> > org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)  
> > at  
> > org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)  
> > at  
> > org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)  
> > at  
> > org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)  
> > at  
> > org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109)  
> > at  
> > org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)  
> > at  
> > org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90)  
> > at  
> > org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)  
> > at  
> > org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)  
> > at  
> > org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
> > at java.lang.Thread.run(Thread.java:744)
> > 
> > 在 2014年6月23日星期一UTC+2下午2时47分52秒，Aaliyah写道：
> > 
> > > I've just tried the first example with java, following [http://www](http://www).  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/en/elasticsearch/client/java-api/)  
> > > current/client.html and [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/)  
> > > en/elasticsearch/client/java-api/current/index\_.html. When I ran this  
> > > sample, got an NoNodeAvailableException.
> > > 
> > > The code and the exception are in the following:
> > > 
> > > [https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG](https://lh6.googleusercontent.com/-8N7TcjYn8T4/U6ggVcQI4PI/AAAAAAAAAG8/dyarDdKo2hQ/s1600/1.PNG)
> > > 
> > > [https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG](https://lh6.googleusercontent.com/-8E0mGaN2Jh4/U6ggmlTfEYI/AAAAAAAAAHE/X0ZsVP1xYHg/s1600/2.PNG)
> > > 
> > > I've searched some posted questions which are also like mine and  
> > > followed the suggestions to rectify my codes. But it didn't work.
> > > 
> > > Does anybody have an idea? Any pointer would be appreciated!
> > > 
> > > Thanks in advance!
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e5abfc69-3849-462e-aac2-500b4a8b29d4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2826e906-74bc-4105-9455-94172e722fe0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2826e906-74bc-4105-9455-94172e722fe0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:20am UTC](https://discuss.elastic.co/t/no-node-available/18263/5 "2017-07-06T01:20:25Z")

</div>


