Can't connect to node


(Matthew D Johnson) #1

I have a cluster with 5 ES nodes. I am getting the following errors in these node. I am not sure what is causing this and hoping that some one can help. Thanks in advance.

[2016-10-22 22:21:35,155][WARN ][cluster.service ] [Radioactive Man] failed to reconnect to node [prd-use1b-pr-15-epsapp-03x01x00-0008.prv-openclass.com][brLXrl1eSXC-JUQDxtxl-A][prd-use1b-pr-15-epsapp-03x01x00-0008.prv-openclass.com][inet[/127.0.1.1:9300]]{data=false, client=true, zone=use1b}
org.elasticsearch.transport.ConnectTransportException: [prd-use1b-pr-15-epsapp-03x01x00-0008.prv-openclass.com][inet[/127.0.1.1:9300]] connect_timeout[30s]
at org.elasticsearch.transport.netty.NettyTransport.connectToChannels(NettyTransport.java:727)
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:656)
at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:624)
at org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:146)
at org.elasticsearch.cluster.service.InternalClusterService$ReconnectToNodes.run(InternalClusterService.java:518)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused: /127.0.1.1:9300
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
... 3 more

My configuration is as follow:

cluster.name: epselastic
cluster.routing.allocation.awareness.attributes: zone
cluster.routing.allocation.awareness.force.zone.values: use1b,use1c,use1d

node.zone: use1b

path.data: /mnt/es
network.host: xxx.xxx.xxx.67

discovery:
type: com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryModule
sonian.elasticsearch.zookeeper:
client.host: prd-use1b-pr-15-epszookeeper-1x0x1083-0001.prv-openclass.com:2181,prd-use1c-pr-15-epszookeeper-1x0x1083-0001.prv-openclass.com:2181,prd-use1d-pr-15-epszookeeper-1x0x1083-0001.prv-openclass.com:2181

script.disable_dynamic: false


(Mark Walkom) #2

As mentioned in this thread - Timeout/Connection error - you have replaced the default discovery with ZK, you will need to ask the developers of that plugin for assistance.

Please also don't create multiple threads on the same problem :slight_smile:


(Mark Walkom) #3