# Exception caught on netty layer

**URL:** <https://discuss.elastic.co/t/exception-caught-on-netty-layer/9948>\
**Category:** Elasticsearch\
**Created:** [December 5, 2012, 8:13am UTC](https://discuss.elastic.co/t/exception-caught-on-netty-layer/9948 "2012-12-05T08:13:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![T\_Vinod\_Gupta](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@T\_Vinod\_Gupta](https://discuss.elastic.co/u/T_Vinod_Gupta)\
**Post date:** [December 5, 2012, 8:13am UTC](https://discuss.elastic.co/t/exception-caught-on-netty-layer/9948/1 "2012-12-05T08:13:54Z")

</div>

hi, has anyone seen the below exception in ES log files.. im seeing this  
and i dont know the reason why.. for the most part, things are working fine  
though.

thanks

[2012-12-05 08:09:38,496][WARN][transport.netty] [Norrin Radd]  
Exception caught on netty layer [[id: 0x79b2591c]]  
java.net.NoRouteToHostException: No route to host  
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)  
at  
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:401)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:370)  
at  
org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:292)  
at  
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)  
at  
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)  
at  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
at java.lang.Thread.run(Thread.java:636)

--

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [December 5, 2012, 10:26am UTC](https://discuss.elastic.co/t/exception-caught-on-netty-layer/9948/2 "2012-12-05T10:26:08Z")

</div>

Hello,

I guess there's a communication issue between your nodes. Which makes sense  
in the context of your other thread (with the yellow and green status on  
different nodes). As Ivan pointed out there, you probably ended up with two  
clusters with the same name, even though you only intend to have one.

You can avoid this "split brain" situation if you set  
zen.discovery.minimum\_master\_nodes to a value higher than half the total  
number of master-eligible nodes in your cluster. Take a look here for  
details:  
[https://github.com/elasticsearch/elasticsearch/issues/1079](https://github.com/elasticsearch/elasticsearch/issues/1079)

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

On Wed, Dec 5, 2012 at 10:13 AM, T Vinod Gupta [tvinod@readypulse.com](mailto:tvinod@readypulse.com)wrote:

> hi, has anyone seen the below exception in ES log files.. im seeing this  
> and i dont know the reason why.. for the most part, things are working fine  
> though.
> 
> thanks
> 
> [2012-12-05 08:09:38,496][WARN][transport.netty] [Norrin Radd]  
> Exception caught on netty layer [[id: 0x79b2591c]]  
> java.net.NoRouteToHostException: No route to host  
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)  
> at  
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:401)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:370)  
> at  
> org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:292)  
> at  
> org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)  
> at  
> org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)
> 
> --

--

---

<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, 3:01am UTC](https://discuss.elastic.co/t/exception-caught-on-netty-layer/9948/3 "2017-07-06T03:01:22Z")

</div>


