I'm running a docker container with ES in it. The cluster works fine but I 
keep getting warning messages about it trying to connect to itself.

[2014-06-30 18:26:21,105][WARN ][cluster.service          ] [ES01] failed 
to reconnect to node 
[ES01][miTCM9-BQwmhlL4mk7EX1w][fb06cbd6bd18][inet[es-host1/137.78.110.131:9300]]
org.elasticsearch.transport.ConnectTransportException: 
[ES01][inet[es-host1/137.78.110.131: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:744)
Caused by: java.net.ConnectException: Connection refused: 
es-host1/137.78.110.131: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

Settings are:

network.bind_host to default
network.publish_host: 137.78.110.131

I'm not setting network.host to the IP since there's some NAT happening.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4f2444b9-e810-4d62-8b0c-070717ec7495%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to