ES 6.4.1 Exception caught on transport layer

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]

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

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