Hi Pavan, make sure that Graylog is able to connect to your Elasticsearch cluster and that the published IP address of your Elasticsearch node(s) is correct.
See http://docs.graylog.org/en/2.1/pages/configuration/elasticsearch.html#configuration for some hints. Cheers, Jochen On Saturday, 14 January 2017 10:55:28 UTC+1, Pavan Welihinda wrote: > > Hello there, > > I have setup graylogs but unfortunately there are no configured nodes. I > check the error log and the following is what i get. Appreciate if some can > point me in the right direction? > > > rg.elasticsearch.transport.ConnectTransportException: [Kiber the > Cruel][inet[/192.168.226.142:9300]] connect_timeout[30s] > > at > org.elasticsearch.transport.netty.NettyTransport.connectToChannels(NettyTransport.java:711) > > > > at > org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:640) > > > > at > org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:608) > > > > at > org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:129) > > > > at > org.elasticsearch.discovery.zen.ZenDiscovery.innerJoinCluster(ZenDiscovery.java:335) > > > > at > org.elasticsearch.discovery.zen.ZenDiscovery.access$500(ZenDiscovery.java:76) > > > at > org.elasticsearch.discovery.zen.ZenDiscovery$1.run(ZenDiscovery.java:283) > > 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: / > 192.168.226.142:9300 > > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > > at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744) > > 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 > > 2017-01-14 15:06:23,798 WARN : org.elasticsearch.discovery.zen - > [graylog2-server] failed to connect to master [[Kiber the > Cruel][obtHKbVzTL2BXTNR7Z165Q][inet[/192.168.226.142:9$ > > org.elasticsearch.transport.ConnectTransportException: [Kiber the > Cruel][inet[/192.168.226.142:9300]] connect_timeout[30s] > > at > org.elasticsearch.transport.netty.NettyTransport.connectToChannels(NettyTransport.java:711) > > at > org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:640) > > at > org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:608) > > at > org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:129) > > at > org.elasticsearch.discovery.zen.ZenDiscovery.innerJoinCluster(ZenDiscovery.java:335) > > at > org.elasticsearch.discovery.zen.ZenDiscovery.access$500(ZenDiscovery.java:76) > > at > org.elasticsearch.discovery.zen.ZenDiscovery$1.run(ZenDiscovery.java:283) > > 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: / > 192.168.226.142:9300 > > at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744) > > 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 > > 2017-01-14 15:06:25,733 ERROR: org.graylog2.Main - > > > > > > ################################################################################ > > > > > > > ERROR: Could not successfully connect to ElasticSearch. Check that your > cluster state is not RED and that ElasticSearch is running properly. > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/d3938551-0ac1-4102-918b-e6b25a0dd236%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
