Graylog indices page fails with error 'Reason: Could not get indices. We expected HTTP 200, but got a HTTP -1.'

When many indices are used in Graylog you can experience an error stating that a HTTP -1 response was received.

This error can be caused by a timeout when collecting information about indices.

I changed the timeout to 30 seconds and restarted the graylog web service. Then waited a few minutes and the error was gone:


  • Change timeout settings in /etc/graylog/web/web.conf:
# Global timeout for communication with Graylog server nodes; default: 5s
timeout.DEFAULT=30s
  • Restart web service:
service graylog-web restart

Kommentarer

Populære indlæg fra denne blog

Microsoft Office 2016 and the AUTO_ACTIVATE property

Check_MK (or OMD) and access to network topology

Enable OpenELEC SSH login with keys, and without password, disable local SSH password