Hi , 
I am setting up graylog 1st time on google cloud ,I am getting error the 
server return 404 at the time of login , can anyone help me guide me , i am 
working on this 1 week but still not able to find the way .

graylog-server                        2.1.1-1   

 elasticsearch                         2.4.1

mongodb-org-server                                                   3.2.10 

nginx                                                                        
1.6.2-5+deb8u2         

in graylog , i can see it able to connect to mysqldb and elasticsearch, but 
when i click on log in on graylog it show me error .i did not find any thing in 
graylog logs . :(


Error - the server returned: 404 - cannot POST 
http://104.199.40.235/api/system/sessions (404)         

my graylog configration.

elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300

elasticsearch_cluster_name = graylog2

elasticsearch_shards = 1

web_endpoint_uri = http://104.199.40.235:9000/api/

web_listen_uri = http://0.0.0.0:9000/

rest_listen_uri = http://0.0.0.0:12900/

root_password_sha2 = 
5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d15422

password_secret = 
X3SFr5QOyF5jlIahKOT2BO2rHZnAuilP5K0ZrgZgBcVugkw3iDdKiZVF3CJWGJw5DP7U6efIUdI68xyzn2D2Ba650P03qs12



My nginx configration .

server
{
  listen      80 default_server;
  listen      [::]:80 default_server ipv6only=on;
  server_name ub-mysql-01;

  location /
    {
        proxy_set_header    Host $http_host;
        proxy_set_header    X-Forwarded-Host $host;
        proxy_set_header    X-Forwarded-Server $host;
        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header    X-Graylog-Server-URL http://104.199.40.235/api;
        proxy_pass          http://127.0.0.1:9000;
    }
}




my nginx error log 

ient: 122.180.184.38, server: ub-mysql-01, request: "GET 
/api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:06:19 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:06:39 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:06:59 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:07:19 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:07:39 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:08:39 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:08:59 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";
2016/10/08 14:10:39 [error] 21703#0: *1294 connect() failed (111: Connection 
refused) while connecting to upstream, client: 122.180.184.38, server: 
ub-mysql-01, request: "GET /api/system/cluster/node HTTP/1.1", upstream: 
"http://127.0.0.1:9000/api/system/cluster/node";, host: "104.199.40.235", 
referrer: "http://104.199.40.235/";

-- 
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/1fcb7fe8-f018-4cff-ba86-c56299cdbfb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to