I getting a weird transient error when connecting to Elastic Cloud. This error happens sometimes and I can not find its root cause. I am using Elastic Search 2.4 with shield 2.2.0 and Apache Flink 1.2.0. I have configured connections params following the Elastic docs.
2017-05-18 14:36:27,026 WARN org.elasticsearch.shield.transport.netty - [Angel Dust] exception caught on transport layer [[id: XX, /XX.XX.XX.XX:42374 => XXXXX.us-east-1.aws.found.io/XX.XX.XX.XX:9343]], closing connection
java.lang.NoClassDefFoundError: org/elasticsearch/shield/transport/netty/HandshakeWaitingHandler$1
at org.elasticsearch.shield.transport.netty.HandshakeWaitingHandler.channelConnected(HandshakeWaitingHandler.java:57)
at org.jboss.netty.handler.ssl.SslHandler.channelConnected(SslHandler.java:1578)
at org.jboss.netty.channel.Channels.fireChannelConnected(Channels.java:227)
at org.jboss.netty.channel.socket.nio.NioWorker$RegisterTask.run(NioWorker.java:162)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:372)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:296)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)