Failed to send ping to [{#zen_unicast}] RemoteTransportException in Tribe node setup

Hi,

I am trying to create a tribe node setup. I am having two servers , I am trying to setup one server as tribe and another as normal data node. I am using Elasticsearch version 2.1.1

Please find my config below,

#Data Node Config
cluster.name: my_net_ctx
path.data: /ctx/dataindex
path.logs: /ctx/datalogs
network.bind_host:
transport.tcp.port: 9300
network.publish_host:
http.port: 9200
http.enabled: true
discovery.zen.ping.unicast.hosts: [":9300"]
discovery.zen.ping.multicast.enabled: false

** #Tribe Node Config**
node.data: false
node.master: false
network.bind_host:
transport.tcp.port: 9200
network.publish_host:
http.port: 9300
http.enabled: true
tribe.t1.cluster.name: my_net_ctx

When I tried to start my elasticsearch after including the above configuration in elasticsearch.yml on both the servers. I am facing the below error.

java.lang.IllegalStateException: Message not fully read (request) for requestId [3], action [internal:discovery/zen/unicast], readerIndex [51] vs expected [187]; resetting
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:120)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791).....

[WARN ][discovery.zen.ping.unicast] [May Parker/t1] failed to send ping to [{#zen_unicast_1#}{127.0.0.1}{127.0.0.1:9300}]
RemoteTransportException[[May Parker][127.0.0.1:9300][internal:discovery/zen/unicast]]; nested: ActionNotFoundTransportException[No handler for action [internal:discovery/zen/unicast]];
Caused by: ActionNotFoundTransportException[No handler for action [internal:discovery/zen/unicast]]
at org.elasticsearch.transport.netty.MessageChannelHandler.handleRequest(MessageChannelHandler.java:237)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:114)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at...

I have noticed one thing in the log file, even though I have changed the IP address but still it showing 127.0.0.1 in the exception.

I don't know where I am going wrong.

Thanks in advance!!!!!

1 Like

HI,
i'm also facing same kind of issue while setting tribe node. Kindly help me to sort our of it.