Deserialize exception

Hi All,

I am seeing below exception after restarting my server.

27-Jul-2015 11:35:36,635 INFO  [com.server.config.ServerConfiguration] (Module init thread.) Exception in init thread : org.elasticsearch.transport.TransportSerializationException: Failed to deserialize exception response from stream
	at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:173) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [elasticsearch-1.4.4.jar:]
	at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [elasticsearch-1.4.4.jar:]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_25]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_25]
	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_25]
Caused by: java.io.InvalidObjectException: enum constant METADATA_READ does not exist in class org.elasticsearch.cluster.block.ClusterBlockLevel
	at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1746) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1707) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1345) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1707) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1345) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501) [rt.jar:1.8.0_25]
	at java.lang.Throwable.readObject(Throwable.java:914) [rt.jar:1.8.0_25]
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) [:1.8.0_25]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_25]
	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371) [rt.jar:1.8.0_25]
	at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171) [elasticsearch-1.4.4.jar:]
	... 23 more
Caused by: java.lang.IllegalArgumentException: No enum constant org.elasticsearch.cluster.block.ClusterBlockLevel.METADATA_READ
	at java.lang.Enum.valueOf(Enum.java:238) [rt.jar:1.8.0_25]
	at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1743) [rt.jar:1.8.0_25]
	... 56 more

None of the configurations are changed in my server and I have no clue what i causing this. Any idea about this exception?

just a guess, could it be different java version used in es client and es nodes?

Yes, you mixed 1.4.4 and 1.6+ Elasticsearch versions. Please update.

Hi - in order to get Logstash (1.4.2) AWS connect to work it was previously recommended to use a 1.1.1 ES setup - this was working with ES1.6 but has failed on a recent update. Is this no longer compatible?