So I download and drop in the new release of Graylog2 and my graylog2 
server fires up fine, but my graylog2 web portion throws an error and won't 
connect to the server (they are on separate servers).  I've confirmed 
iptables is disabled on both.  Here is the output I get from the 
graylog2-web machine:

[root@graylog2-web graylog2]# bin/graylog2-web-interface -Dhttp.port=8080
Play server process ID is 14472
[error] o.g.r.l.ApiClient - API call failed to execute.
java.util.concurrent.ExecutionException: java.net.ConnectException: 
Connection refused: /172.20.56.41:12900 to 
http://172.20.56.41:12900/system/cluster/node
       at 
com.ning.http.client.providers.netty.NettyResponseFuture.abort(NettyResponseFuture.java:336)
 
~[com.ning.async-http-client-1.7.18.jar:na]
       at 
com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:107)
 
~[com.ning.async-http-client-1.7.18.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:418)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:380)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:109)
 
~[io.netty.netty-3.7.0.Final.jar:na]
Caused by: java.net.ConnectException: Connection refused: 
/172.20.56.41:12900 to http://172.20.56.41:12900/system/cluster/node
       at 
com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:103)
 
~[com.ning.async-http-client-1.7.18.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:418)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:380)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:109)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) 
~[io.netty.netty-3.7.0.Final.jar:na]
Caused by: java.net.ConnectException: Connection refused: 
/172.20.56.41:12900
       at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 
~[na:1.7.0_65]
       at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) 
~[na:1.7.0_65]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
 
~[io.netty.netty-3.7.0.Final.jar:na]
[error] o.g.r.l.ApiClient - API call failed to execute.
java.util.concurrent.ExecutionException: java.net.ConnectException: 
Connection refused: /172.20.56.41:12900 to 
http://172.20.56.41:12900/system/cluster/node
       at 
com.ning.http.client.providers.netty.NettyResponseFuture.abort(NettyResponseFuture.java:336)
 
~[com.ning.async-http-client-1.7.18.jar:na]
       at 
com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:107)
 
~[com.ning.async-http-client-1.7.18.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:418)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:380)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:109)
 
~[io.netty.netty-3.7.0.Final.jar:na]
Caused by: java.net.ConnectException: Connection refused: 
/172.20.56.41:12900 to http://172.20.56.41:12900/system/cluster/node
       at 
com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:103)
 
~[com.ning.async-http-client-1.7.18.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:418)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:380)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:109)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) 
~[io.netty.netty-3.7.0.Final.jar:na]
Caused by: java.net.ConnectException: Connection refused: 
/172.20.56.41:12900
       at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 
~[na:1.7.0_65]
       at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) 
~[na:1.7.0_65]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) 
~[io.netty.netty-3.7.0.Final.jar:na]
       at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
 
~[io.netty.netty-3.7.0.Final.jar:na]
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:8080

So, I'm not sure exactly why this connection is being refused.  Most of my 
investigation reveals this a somewhat generic error message.  Once I put 
the previously used graylog2 versions back in place (graylog2 0.20.6 server 
and web) and start both up it works fine.  I didn't see anything that 
jumped out at me in the new config files that alluded to anything I needed 
to add that wasn't in the previous configs.  

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to