# ES 6.4.1 Exception caught on transport layer

**URL:** <https://discuss.elastic.co/t/es-6-4-1-exception-caught-on-transport-layer/151272>\
**Category:** Elasticsearch\
**Created:** [October 5, 2018, 6:34pm UTC](https://discuss.elastic.co/t/es-6-4-1-exception-caught-on-transport-layer/151272 "2018-10-05T18:34:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajivchodisetti](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@rajivchodisetti](https://discuss.elastic.co/u/rajivchodisetti)\
**Post date:** [October 5, 2018, 6:34pm UTC](https://discuss.elastic.co/t/es-6-4-1-exception-caught-on-transport-layer/151272/1 "2018-10-05T18:34:40Z")

</div>

HI,

Am running into the below issue when am connecting to ES via the spring-data-elasticsearch library, earlier we were using ES 5.6.1 version and now I have upgraded the ES to 6.4.1 on our Dev environment and when am testing the service am running into this exception

I don't understand where does this [5.2.0] version came from because we don't use that ES version anywhere

[2018-10-05T18:33:54,628][WARN][o.e.t.n.Netty4Transport] [sas-es-node0] exception caught on transport layer [NettyTcpChannel{localAddress=/10.161.2.7:9300, remoteAddress=/10.161.0.186:37810}], closing connection  
java.lang.IllegalStateException: Received message from unsupported version: [5.2.0] minimal compatible version is: [5.6.0]  
at org.elasticsearch.transport.TcpTransport.ensureVersionCompatibility(TcpTransport.java:1475) ~[elasticsearch-6.4.1.jar:6.4.1]  
at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:1421) ~[elasticsearch-6.4.1.jar:6.4.1]  
at org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.channelRead(Netty4MessageChannelHandler.java:64) ~[transport-netty4-6.4.1.jar:6.4.1]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-codec-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297) [netty-codec-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413) [netty-codec-4.1.16.Final.jar:4.1.16.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [netty-codec-4.1.16.Final.jar:4.1.16.Final]

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [October 5, 2018, 7:43pm UTC](https://discuss.elastic.co/t/es-6-4-1-exception-caught-on-transport-layer/151272/2 "2018-10-05T19:43:08Z")

</div>

> [@rajivchodisetti](#):
>
> I don't understand where does this [5.2.0] version came from because we don't use that ES version anywhere

This is, I think, the version of the transport client on which your version of `spring-data-elasticsearch` depends.

---

<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:** [November 2, 2018, 7:43pm UTC](https://discuss.elastic.co/t/es-6-4-1-exception-caught-on-transport-layer/151272/3 "2018-11-02T19:43:16Z")

</div>

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