You have mismatched versions of elasticSearch among your nodes or you have a DB running a version of elasticSearch incompatible with the client's version. Try updating or downgrading so the versions match.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.
- java.lang.IllegalStateException: Message not fully read (response) for requestId [...], handler [org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler/org.elasticsearch.action.support.nodes.TransportNodesAction$AsyncAction$1@44aa70c], error [false]; resetting at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:1257)[elasticsearch-5.1.1.jar:5.1.1]