# ES 5.4.1 Startup Exception - exception caught on transport layer

**URL:** <https://discuss.elastic.co/t/es-5-4-1-startup-exception-exception-caught-on-transport-layer/98100>\
**Category:** Elasticsearch\
**Created:** [August 23, 2017, 2:49pm UTC](https://discuss.elastic.co/t/es-5-4-1-startup-exception-exception-caught-on-transport-layer/98100 "2017-08-23T14:49:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SKumarMN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skumarmn/32/27537_2.png) [@SKumarMN](https://discuss.elastic.co/u/SKumarMN)\
**Post date:** [August 23, 2017, 2:49pm UTC](https://discuss.elastic.co/t/es-5-4-1-startup-exception-exception-caught-on-transport-layer/98100/1 "2017-08-23T14:49:30Z")

</div>

When i try to startup ES 5.4.1 on Windows 7, i get the below exception however ES starts. I tried with default settings in elasticsearch.yml file and tried adding the network.host or http.host/ transport.host with IP address yest get the below issue. Why do we get this exception during startup ?

```
[2017-08-23T07:50:51,814][INFO][o.e.p.PluginsService] [t704hxx] no plugins loaded
    [2017-08-23T07:50:55,637][INFO][o.e.d.DiscoveryModule] [t704hxx] using discovery type [zen]
    [2017-08-23T07:50:56,678][INFO][o.e.n.Node] initialized
    [2017-08-23T07:50:56,679][INFO][o.e.n.Node] [t704hxx] starting ...
    [2017-08-23T07:50:57,180][INFO][o.e.t.TransportService] [t704hxx] publish_address {127.0.0.1:9300}, bound_addresses
    {127.0.0.1:9300}, {[::1]:9301}
    [2017-08-23T07:50:57,554][WARN][o.e.t.n.Netty4Transport] [t704hxx] exception caught on transport layer [[id: 0x216495
    7b, L:/0:0:0:0:0:0:0:1:36954 - R:/0:0:0:0:0:0:0:1:9300]], closing connection
    java.io.EOFException: tried to read: 36 bytes but only 3 remaining
            at org.elasticsearch.transport.netty4.ByteBufStreamInput.ensureCanReadBytes(ByteBufStreamInput.java:75) ~[?:?]
            at org.elasticsearch.common.io.stream.FilterStreamInput.ensureCanReadBytes(FilterStreamInput.java:80) ~[elastics
    earch-5.4.1.jar:5.4.1]
            at org.elasticsearch.common.io.stream.StreamInput.readArraySize(StreamInput.java:925) ~[elasticsearch-5.4.1.jar:
    5.4.1]
            at org.elasticsearch.common.io.stream.StreamInput.readString(StreamInput.java:342) ~[elasticsearch-5.4.1.jar:5.4
    .1]
            at org.elasticsearch.common.io.stream.StreamInput.readList(StreamInput.java:885) ~[elasticsearch-5.4.1.jar:5.4.1
    ]
            at org.elasticsearch.common.io.stream.StreamInput.readMapOfLists(StreamInput.java:479) ~[elasticsearch-5.4.1.jar
    :5.4.1]
            at org.elasticsearch.common.util.concurrent.ThreadContext$ThreadContextStruct.<init>(ThreadContext.java:366) ~[e
    lasticsearch-5.4.1.jar:5.4.1]
            at org.elasticsearch.common.util.concurrent.ThreadContext$ThreadContextStruct.<init>(ThreadContext.java:352) ~[e
    lasticsearch-5.4.1.jar:5.4.1]
            at org.elasticsearch.common.util.concurrent.ThreadContext.readHeaders(ThreadContext.java:186) ~[elasticsearch-5.
    4.1.jar:5.4.1]
            at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:1367) ~[elasticsearch-5.4.1.jar:5.
    4.1]
            at org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.channelRead(Netty4MessageChannelHandler.java:7
    4) ~[transport-netty4-5.4.1.jar:5.4.1]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [net
    ty-transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [net
    ty-transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty
    -transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-codec-4.1.1
    1.Final.jar:4.1.11.Final]
            at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297) [netty-codec-4.1.1
    1.Final.jar:4.1.11.Final]
            at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413) [netty-codec-4.1.11.Fin
    al.jar:4.1.11.Final]
            at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [netty-codec-4.1.11.Fi
    nal.jar:4.1.11.Final]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [net
    ty-transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [net
    ty-transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty
    -transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) [netty-tran
    sport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [net
    ty-transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [net
    ty-transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) [netty-transport-4.1
    .11.Final.jar:4.1.11.Final]
            at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134) [netty-transp
    ort-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644) [netty-transport-4.1.11.Final.jar
    :4.1.11.Final]
            at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:544) [netty-transport-4.1.11.Fin
    al.jar:4.1.11.Final]
            at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:498) [netty-transport-4.1.11.Final.ja
    r:4.1.11.Final]
            at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458) [netty-transport-4.1.11.Final.jar:4.1.11.Final]
            at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-common-4.

```

..................................  
[2017-08-23T07:51:00,320][INFO][o.e.c.s.ClusterService] [t704hxx] new\_master {t704hxx}{t704hxxESime6SNF-hzvzA}{wEkvw  
qilSrOUUsMGU-8Vpg}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)  
[2017-08-23T07:51:00,391][INFO][o.e.g.GatewayService] [t704hxx] recovered [0] indices into cluster\_state  
[2017-08-23T07:51:00,476][INFO][o.e.h.n.Netty4HttpServerTransport] [t704hxx] publish\_address {127.0.0.1:9200}, bound\_ad  
dresses {127.0.0.1:9200}, {[::1]:9200}  
[2017-08-23T07:51:00,489][INFO][o.e.n.Node] [t704hxx] started

---

<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:** [September 20, 2017, 2:50pm UTC](https://discuss.elastic.co/t/es-5-4-1-startup-exception-exception-caught-on-transport-layer/98100/2 "2017-09-20T14:50:00Z")

</div>

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