FIX ERROR — AWS EC2 Graylog: Server currently unavailable

На AWS EC2 Instance при открытии Web интерфейса Graylog‘а выводилось следующее сообщение:

Server currently unavailable

We are experiencing problems connecting to the Graylog server running on http://172.31.31.109:9000/api/. Please verify that the server is healthy and working correctly.

You will be automatically redirected to the previous page once we can connect to the server.

При этом в файле конфигурации:

/etc/graylog/server/server.conf

Были указаны опции «rest_listen_uri» и «web_listen_uri«. Так как EC2 Instance «живет» за NAT‘ом, то нам интересна опция:

REST API transport address

Ее описание:

You will need to define this, if your Graylog server is running behind a HTTP proxy that is rewriting
the scheme, host name or URI.

Указываем там внешний IP адрес инстанса и перезапускаем сервис Graylog.

rest_transport_uri = http://1.2.3.4:9000/api/

 

Метки: Метки

Подписаться
Уведомить о
guest

0 комментариев
Межтекстовые Отзывы
Посмотреть все комментарии