{"id":273,"date":"2018-11-19T19:10:19","date_gmt":"2018-11-19T16:10:19","guid":{"rendered":"https:\/\/artem.services\/?p=273"},"modified":"2018-11-19T19:11:44","modified_gmt":"2018-11-19T16:11:44","slug":"fix-error-aws-ec2-graylog-server-currently-unavailable","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=273","title":{"rendered":"FIX ERROR &#8212; AWS EC2 Graylog: Server currently unavailable"},"content":{"rendered":"<p>\u041d\u0430 <strong>AWS EC2 Instance<\/strong> \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 <strong>Web<\/strong> \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 <strong>Graylog<\/strong>&#39;\u0430 \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:<\/p>\n<pre>Server currently unavailable\r\n\r\nWe 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.\r\n\r\nYou will be automatically redirected to the previous page once we can connect to the server.<\/pre>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:<\/p>\n<pre>\/etc\/graylog\/server\/server.conf<\/pre>\n<p>\u0411\u044b\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043e\u043f\u0446\u0438\u0438 &quot;<strong>rest_listen_uri<\/strong>&quot; \u0438 &quot;<strong>web_listen_uri<\/strong>&quot;. \u0422\u0430\u043a \u043a\u0430\u043a EC2 Instance &quot;\u0436\u0438\u0432\u0435\u0442&quot; \u0437\u0430 <strong>NAT<\/strong>&#39;\u043e\u043c, \u0442\u043e \u043d\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u043e\u043f\u0446\u0438\u044f:<\/p>\n<pre>REST API transport address<\/pre>\n<p>\u0415\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435:<\/p>\n<pre>You will need to define this, if your Graylog server is running behind a HTTP proxy that is rewriting\r\nthe scheme, host name or URI.<\/pre>\n<p>\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0442\u0430\u043c <strong>\u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP<\/strong> \u0430\u0434\u0440\u0435\u0441 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441 <strong>Graylog<\/strong>.<\/p>\n<pre>rest_transport_uri = http:\/\/1.2.3.4:9000\/api\/<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430 AWS EC2 Instance \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 Web \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 Graylog&#39;\u0430 \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435: 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. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c &hellip; <a href=\"https:\/\/artem.services\/?p=273\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c<span class=\"screen-reader-text\"> &quot;FIX ERROR &#8212; AWS EC2 Graylog: Server currently unavailable&quot;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[49],"tags":[51,50,64],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/273"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=273"}],"version-history":[{"count":2,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}