Hi Scott, without knowing your Graylog configuration, the URI http://<server-ip>:12900/api/ looks wrong. It should probably be either http://<server-ip>:12900/ or http://<server-ip>:9000/api/, depending on your Graylog configuration.
Cheers, Jochen On Sunday, 15 January 2017 16:42:38 UTC+1, Scott LeFevre wrote: > > I've setup a graylog server running v2.1.2+50e449a and I'm successfully > collecting using gelf and syslog. This has been running very well for > several months. I'm now trying to get collector sidecar running on Windows > and Linux servers. I've installed sidecar v0.1.0-beta3 on a Windows 2016 > Server and Ubuntu 14.04 VMs. I've followed the official documentation and > created a two Collector Configurations and tagged them respectively with > 'windows' and 'linux'. > > When I run the collector-side from the command line on either system > (windows or linux), I get the same error messages stating: > ERRO[0010] [UpdateRegistration] Bad response from Graylog server: 404 Not > Found > time="2017-01-15T10:23:44-05:00" level=error msg="[RequestConfiguration] > Bad response status from Graylog server: 404 Not Found" > time="2017-01-15T10:23:44-05:00" level=error msg="Can't fetch > configuration from Graylog API: GET > http://<server-ip>:12900/api/plugins/org.graylog.plugins.collector/a5e77211-e90e-4683-a1c0-ab9c9eabd5ef?tags=%5B%22linux%22%2C%22apache%22%5D: > > 404 HTTP 404 Not Found" > > or > > time="2017-01-15T10:35:00-05:00" level=error msg="[UpdateRegistration] Bad > response from Graylog server: 404 Not Found" > time="2017-01-15T10:35:09-05:00" level=error msg="[RequestConfiguration] > Bad response status from Graylog server: 404 Not Found" > time="2017-01-15T10:35:09-05:00" level=error msg="Can't fetch > configuration from Graylog API: GET > http://mon1.watsons.local:12900/api/plugins/org.graylog.plugins.collector/368ceb95-5cc3-4d8e-9179-5510d37484df?tags=%5B%22windows%22%5D: > > 404 HTTP 404 Not Found" > > This appears to be a authentication issue but I can't find any way to > setup the authentication. > > I've looked at my graylog server configuration and tried changing the > sidecar configuration to match the "rest_listen_uri" in the sever config > (i.e. http://<server-ip>:12900/) but it's made no difference. > > What am I missing to get this to work? > > -- 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/cd2e1d38-d451-4d95-a9e3-ad3718c6955b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
