Thanks for the help Jochen
Ok, so checked to see if graylog2-server is listening with netstat:
[root@graylog2-server graylog2]# netstat -tplen|grep :12900 tcp 0
0 ::ffff:172.20.56.41:12900 :::* LISTEN 0
930716 2720/java
Ok, so all looks good there. Now trying with the curl command for the
proper reply:
[root@graylog2-server graylog2]# curl -i --user admin:mypassword -H
'Accept: application/json' http://172.20.56.41:12900/system/cluster/node
HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
{"type":"ApiError","message":"HTTP 404 Not Found"}
So this appears to be the issue but why the 404 here?
When I run this against my 0.20.6 version I get this:
[root@graylog2-web graylog2]# curl -i --user admin:mypassword -H 'Accept:
application/json' http://172.20.56.41:12900/system/cluster/node
HTTP/1.1 200 OK
Content-Type: application/json
X-Runtime-Microseconds: 2415
Transfer-Encoding: chunked
{"id":"51b4b982-51a4-42e3-8e0d-ffa22f74b595","is_master":true,"last_seen":"2014-10-10T03:09:43.000Z","transport_address":"http://172.20.56.41:12900","type":"server","short_node_id":"51b4b982"}
I would assume that is the response we would like to see. What could
possibly be missing with the newer binary?
--
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.