Hi Marty Graylog 2.0.1.
We have tls enabled for the REST API. If I try to connect and check the lbstatus using telnet I always get a "Connection closed by foreign host." back. Do you maybe have an idea how to solve this? Thank you and kind regards, Stefan Am Freitag, 15. April 2016 15:04:10 UTC+2 schrieb Marty: > > > Hi Mica, > > Yes nc or telnet is always fine, though my headers and output is different > from yours for 1.0 or 1.1, see below, Always two CR to get answer. > > # telnet 127.0.0.1 12900 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > GET /system/lbstatus HTTP/1.0 > > HTTP/1.0 200 OK > Content-Length: 5 > Content-Type: text/plain > X-Graylog-Node-ID: 5f5ad36e-7968-4ea4-b92c-dea47f3f6920 > X-Runtime-Microseconds: 333 > > ALIVEConnection closed by foreign host. > > # telnet 127.0.0.1 12900 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > GET /system/lbstatus HTTP/1.1 > > HTTP/1.1 200 OK > Content-Type: text/plain > X-Graylog-Node-ID: 5f5ad36e-7968-4ea4-b92c-dea47f3f6920 > X-Runtime-Microseconds: 323 > Transfer-Encoding: chunked > > 5 > ALIVE > 0 > > ^]quit > > telnet> quit > Connection closed. > > > Cheers, > Marty > > On Friday, April 15, 2016 at 10:19:14 PM UTC+10, Micha - wrote: >> >> Hi Marty, >> >> at the moment i just using one Node so i still wasn't place one of our F5 >> Clusters in front of Graylog. I just tested the monitor via telnet like i >> always do for new monitors. >> >> f5ve]# telnet graylogserver 12900 >> Trying graylogserver... >> Connected to graylogserver . >> Escape character is '^]'. >> GET /system/lbstatus HTTP/1.0 >> >> HTTP/1.1 200 OK >> X-Graylog-Node-ID: c02340cc-d5b7-4f27-aba6-b795c51865b8 >> X-Runtime-Microseconds: 187 >> Content-Type: text/plain >> Date: Fri, 15 Apr 2016 12:15:48 GMT >> Connection: close >> Content-Length: 5 >> >> ALIVE >> >> alternative you could change the receive string from ALIVE to just 200 >> and test if the pool stays up - if that doesnt work also - i guess there is >> a problem somewhere else. >> >> Greets >> Micha >> >> >> >> >> >> >> -- 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/8777618f-1e16-448c-a531-d6bdb88fc1b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
