I've just upgrade my elastic search to 0.19.4 on ec2 and aws plugin is 1.5.0. I ran two web apps in one tomcat and both of them started an elasticsearch client using same code.
After I started tomcat the first client has connected to the es cluster successfully but the second is always fail to connect to the client with such error:
05:44:07.227 INFO (Slf4jESLogger.java:94) - [Meld] failed to send join request to master [[Infamnia][aZoGhrLzSk6iSZIv2d_PAA][inet[/10.223.23.106:9300]]], reason [org.elasticsearch.transport.RemoteTransportException: [Infamnia][inet[/10.223.23.106:9300]][discovery/zen/join]; org.elasticsearch.transport.ConnectTransportException: [Meld][inet[/10.195.83.112:9301]] connect_timeout[30s]; org.elasticsearch.common.netty.channel.ChannelException: Failed to create a selector.]
I was using 0.19.0 and all works fine and I didn't change any code of connection but just rebuild the jar file.
Can anyone give me some advices? Thanks