There was still the old default (rest on port 12900) configured in the Docker image. Please update to 2.1.0-3 and this issue should be fixed.
Cheers, Marius On 12 September 2016 at 17:16, Hernán Fernández <[email protected]> wrote: > mongo, elasticsearch and graylog2/server are the newest, in the case of > graylog2 the images is the latest (2.1.0-2) > > If I start the containers in this way > > $ docker run --name some-mongo -d mongo:3 >> $ docker run --name some-elasticsearch -d elasticsearch:2 elasticsearch - >> Des.cluster.name="graylog" >> $ docker run --link some-mongo:mongo --link some-elasticsearch:elasticsearch >> -p 9000:9000 -p 514:5140/udp -e GRAYLOG_WEB_ENDPOINT_URI="http >> ://127.0.0.1:9000/api" -d graylog2/server > > > I will get an 404 error at login time for http://127.0.0.1:9000/api > > if I start the same 2.1.0-2 version like this > > docker run --link some-mongo:mongo --link some-elasticsearch:elasticsearch >> -p 9000:9000 -p 12900:12900 -p 514:5140/udp -e GRAYLOG_REST_TRANSPORT_URI=" >> http://127.0.0.1:12900" -d graylog2/server > > > It will work fine. So, apparently the API is not working in the same port > as the announce said > > Please take into account that we modified the default settings to make the >> web interface and REST API to live under the same port. Your Graylog web >> interface is available now by default in http://127.0.0.1:9000/, and >> your Graylog REST API in http://127.0.0.1:9000/api. > > > > > On Monday, September 12, 2016 at 10:37:45 AM UTC-3, Marius Sturm wrote: >> >> Hi Hernan, >> which image version do you use? >> >> >> Cheers, >> Marius >> >> >> On 12 September 2016 at 15:31, Hernán Fernández <[email protected]> >> wrote: >> >>> Hi, I've tried this without success, what IP did you use and may you >>> also confirm that you use just the GRAYLOG_REST_TRANSPORT_URI variable? >>> >>> thanks >>> >>> On Sunday, September 11, 2016 at 6:09:02 AM UTC-3, Daniel Kamiński wrote: >>>> >>>> I also stumbled on this error, passing machine network ip rather than >>>> local 127.0.0.1 kind of worked >>>> >>>> W dniu piątek, 2 września 2016 22:48:30 UTC+2 użytkownik Hernán >>>> Fernández napisał: >>>>> >>>>> Hello, >>>>> >>>>> I just saw that the rest api is running now on the web interface and >>>>> the variable GRAYLOG_REST_TRANSPORT_URI="http://127.0.0.1:12900" has >>>>> been changed by GRAYLOG_WEB_ENDPOINT_URI="http://127.0.0.1:9000/api" >>>>> in docker installation webpage http://docs.graylog.org/en/2.1 >>>>> /pages/installation/docker.html >>>>> >>>>> the problem is that http://127.0.0.1:9000/api >>>>> <http://www.google.com/url?q=http%3A%2F%2F127.0.0.1%3A9000%2Fapi&sa=D&sntz=1&usg=AFQjCNGLljcDV9U5v2mjkMlwpaRuZIRpqg> >>>>> give me an 404 error, (apparently it still working with 12900 port), but >>>>> any idea why the system doesn't work has the documentation say? >>>>> >>>>> I'm starting the container with >>>>> >>>>> docker run --link some-mongo:mongo --link >>>>> some-elasticsearch:elasticsearch -e GRAYLOG_WEB_ENDPOINT_URI="h >>>>> ttp://127.0.0.1:9000/api" -p 9000:9000 -p 514:5140/udp -d >>>>> graylog2/server >>>>> >>>>> thanks >>>>> >>>> -- >>> 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/ms >>> gid/graylog2/008dfab3-ca7d-45d8-9cd5-a25d425000c9%40googlegroups.com >>> <https://groups.google.com/d/msgid/graylog2/008dfab3-ca7d-45d8-9cd5-a25d425000c9%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Developer >> >> Tel.: +49 (0)40 609 452 077 >> Fax.: +49 (0)40 609 452 078 >> >> TORCH GmbH - A Graylog Company >> Poolstraße 21 >> 20335 Hamburg >> Germany >> >> https://www.graylog.com <https://www.torch.sh/> >> >> Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175 >> Geschäftsführer: Lennart Koopmann (CEO) >> > -- > 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/8a24cbe6-61b0-42a2-86eb-c69aa8ecbb93%40googlegroups.com > <https://groups.google.com/d/msgid/graylog2/8a24cbe6-61b0-42a2-86eb-c69aa8ecbb93%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Developer Tel.: +49 (0)40 609 452 077 Fax.: +49 (0)40 609 452 078 TORCH GmbH - A Graylog Company Poolstraße 21 20335 Hamburg Germany https://www.graylog.com <https://www.torch.sh/> Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175 Geschäftsführer: Lennart Koopmann (CEO) -- 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/CAMqbBbKPLud2q3sN00fHvCDCFds53DkFdxvgJyFh%2B-LC54T7mg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
