{"action":"created","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1908","repository_url":"https://api.github.com/repos/Graylog2/graylog2-server","labels_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1908/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1908/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1908/events","html_url":"https://github.com/Graylog2/graylog2-server/issues/1908","id":138707422,"number":1908,"title":"Graylog v2.0-alpha can't get to web interface","user":{"login":"123dev","id":13109154,"avatar_url":"https://avatars.githubusercontent.com/u/13109154?v=3","gravatar_id":"","url":"https://api.github.com/users/123dev","html_url":"https://github.com/123dev","followers_url":"https://api.github.com/users/123dev/followers","following_url":"https://api.github.com/users/123dev/following{/other_user}","gists_url":"https://api.github.com/users/123dev/gists{/gist_id}","starred_url":"https://api.github.com/users/123dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/123dev/subscriptions","organizations_url":"https://api.github.com/users/123dev/orgs","repos_url":"https://api.github.com/users/123dev/repos","events_url":"https://api.github.com/users/123dev/events{/privacy}","received_events_url":"https://api.github.com/users/123dev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-05T18:44:22Z","updated_at":"2016-05-19T10:22:00Z","closed_at":"2016-03-06T13:45:30Z","body":"### Problem description\r\nTesting out Graylog v2.0-alpha \r\n\r\n### Steps to reproduce the problem\r\nInstalled on Ubuntu 14.04\r\nAccessing http://graylog:9000\r\nI get\r\n> Server currently unavailable\r\n> We are experiencing problems connecting to the Graylog server running on http://127.0.0.1:12900//. Please verify that the server is healthy and working correctly.\r\n> \r\n> You will be automatically redirected to the previous page once we can connect to the server.\r\n> \r\n> Do you need a hand? We can help you.\r\n> \r\n> Less details\r\n> This is the last response we received from the server:\r\n> \r\n> Error message\r\n> Bad request\r\n> Original Request\r\n> GET http://127.0.0.1:12900/system/cluster/node\r\n> Status code\r\n> undefined\r\n> Full error message\r\n> Error: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.\r\n\r\n1. ...\r\n\r\n### Environment\r\n\r\n* Graylog Version:\r\nLatest 2.0 alpha.5\r\n* Elasticsearch Version:\r\n2.2.0\r\n* MongoDB Version:\r\n3.2.3\r\n* Operating System:\r\nUbuntu 14.04 LTS\r\n\r\nIn graylog logs I see the following warning\r\n```\r\n2016-03-05 13:26:01,497 WARN : org.elasticsearch.discovery - [graylog-8721cfc4-0816-4be1-ba19-18ddbcb9cdae] waited for 3s and no initial state was set by the discovery\r\n2016-03-05 13:26:01,498 INFO : org.elasticsearch.node - [graylog-8721cfc4-0816-4be1-ba19-18ddbcb9cdae] started\r\n2016-03-05 13:26:04,926 INFO : org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [10.1.1.94:9000]\r\n2016-03-05 13:26:04,930 INFO : org.glassfish.grizzly.http.server.HttpServer - [HttpServer] Started.\r\n2016-03-05 13:26:04,932 INFO : org.graylog2.initializers.WebInterfaceService - Started Web Interface at <http://10.1.1.94:9000/>\r\n2016-03-05 13:26:06,505 WARN : org.graylog2.initializers.IndexerSetupService - Could not connect to Elasticsearch\r\n```\r\nI even changed the bind address to accept connections on all network interfaces.\r\n```\r\ntcp        0      0 0.0.0.0:12900           0.0.0.0:*               LISTEN\r\ntcp        0      0 0.0.0.0:9350            0.0.0.0:*               LISTEN\r\ntcp        0      0 10.1.1.94:9000          0.0.0.0:*               LISTEN\r\ntcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN\r\ntcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN\r\ntcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN\r\ntcp        0      0 127.0.0.1:6011          0.0.0.0:*               LISTEN\r\ntcp6       0      0 :::9200                 :::*                    LISTEN\r\ntcp6       0      0 :::9300                 :::*                    LISTEN\r\ntcp6       0      0 :::22                   :::*                    LISTEN\r\ntcp6       0      0 ::1:6010                :::*                    LISTEN\r\ntcp6       0      0 ::1:6011                :::*                    LISTEN\r\n```\r\nBased on the error reported on the web interface, Graylog is having problems connecting to\r\nWe are experiencing problems connecting to the Graylog server running on http://127.0.0.1:12900//\r\n\r\nYet I'm able to access it from localhost\r\n```\r\n{\"cluster_id\":\"855f6744-5881-4555-b11a-273793f9a538\",\"node_id\":\"8721cfc4-0816-4be1-ba19-18ddbcb9cdae\",\"type\":\"server\",\"transport_address\":\"http://10.1.1.94:12900\",\"last_seen\":\"2016-03-05T18:27:45.000Z\",\"short_node_id\":\"8721cfc4\",\"hostname\":\"Graylog.CELLS\",\"is_master\":true}\r\n```\r\nboth\r\nwget http://127.0.0.1:12900/system/cluster/node\r\nand\r\nwget http://10.1.1.94:12900/system/cluster/node\r\nWork\r\n\r\nElasticSearch is also accesible\r\ncurl -XGET 'http://127.0.0.1:9200/_cluster/health?pretty=true'\r\n```\r\n{\r\n  \"cluster_name\" : \"graylog\",\r\n  \"status\" : \"green\",\r\n  \"timed_out\" : false,\r\n  \"number_of_nodes\" : 1,\r\n  \"number_of_data_nodes\" : 1,\r\n  \"active_primary_shards\" : 0,\r\n  \"active_shards\" : 0,\r\n  \"relocating_shards\" : 0,\r\n  \"initializing_shards\" : 0,\r\n  \"unassigned_shards\" : 0,\r\n  \"delayed_unassigned_shards\" : 0,\r\n  \"number_of_pending_tasks\" : 0,\r\n  \"number_of_in_flight_fetch\" : 0,\r\n  \"task_max_waiting_in_queue_millis\" : 0,\r\n  \"active_shards_percent_as_number\" : 100.0\r\n}\r\n```\r\nEven the client running the browser is able to access the REST_API and ES\r\n\r\nWhat's wrong?\r\nAm I missing something?\r\n\r\nThanks in advance\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/comments/220285175","html_url":"https://github.com/Graylog2/graylog2-server/issues/1908#issuecomment-220285175","issue_url":"https://api.github.com/repos/Graylog2/graylog2-server/issues/1908","id":220285175,"user":{"login":"joschi","id":43951,"avatar_url":"https://avatars.githubusercontent.com/u/43951?v=3","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T10:22:00Z","updated_at":"2016-05-19T10:22:00Z","body":"@numair We are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our [public mailing list](https://groups.google.com/forum/#!forum/graylog2) or join the [#graylog channel on freenode IRC](https://webchat.freenode.net/?channels=%23graylog).\r\n\r\nThank you!"}}