Hello everybody!
I was install elasticsearch 1.5.2 with next conf:
# Set both 'bind_host' and 'publish_host':
#
network.host: localhost
Then I installed kibana 4.0.1 with next conf:
# Kibana is served by a back end server. This controls which port to use.
port: 5601
# The host to bind the server to.
host: "localhost"
# The Elasticsearch instance to use for all your queries.
elasticsearch_url: "http://localhost:9200"
And then I installed nginx with proxy:
server {
listen 80;
server_name logstash.domain.com;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log warn;
charset utf-8;
location / {
proxy_pass http://localhost:5601;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
Everything start perfectly and listen on their ports.
But when I try to access my nginx web site a get next:
ErrorAbstract@http://192.168.198.200/index.js?_b=5930:80274:19
NoConnections@http://192.168.198.200/index.js?_b=5930:80297:3
sendReqWithConnection@http://192.168.198.200/index.js?_b=5930:81524:15
next@http://192.168.198.200/index.js?_b=5930:80038:1
[13]</process.nextTick</<@http://192.168.198.200/index.js?_b=5930:52551:21
and 304 in logs:
{"@timestamp":"2015-05-18T08:53:23.385Z","level":"info","message":"GET / 304 - 5ms","node_env":"production","request":{"method":"GET","url":"/","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"717-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39447},"response":{"statusCode":304,"responseTime":5,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.410Z","level":"info","message":"GET /styles/main.css?_b=5930 304 - 1ms","node_env":"production","request":{"method":"GET","url":"/styles/main.css?_b=5930","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/css,*/*;q=0.1","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","referer":"http://192.168.198.200/","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"31c3c-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39448},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.415Z","level":"info","message":"GET /bower_components/requirejs/require.js?_b=5930 304 - 1ms","node_env":"production","request":{"method":"GET","url":"/bower_components/requirejs/require.js?_b=5930","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"*/*","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","referer":"http://192.168.198.200/","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"1448b-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39449},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.419Z","level":"info","message":"GET /styles/theme/elk.ico 304 - 1ms","node_env":"production","request":{"method":"GET","url":"/styles/theme/elk.ico","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"47e-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39450},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.420Z","level":"info","message":"GET /require.config.js?_b=5930 304 - 2ms","node_env":"production","request":{"method":"GET","url":"/require.config.js?_b=5930","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"*/*","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","referer":"http://192.168.198.200/","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"939-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39451},"response":{"statusCode":304,"responseTime":2,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.421Z","level":"info","message":"GET /images/initial_load.gif 304 - 2ms","node_env":"production","request":{"method":"GET","url":"/images/initial_load.gif","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"image/png,image/*;q=0.8,*/*;q=0.5","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","referer":"http://192.168.198.200/","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"2e9e-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39452},"response":{"statusCode":304,"responseTime":2,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.442Z","level":"info","message":"GET /styles/theme/elk.ico 304 - 0ms","node_env":"production","request":{"method":"GET","url":"/styles/theme/elk.ico","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"47e-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39453},"response":{"statusCode":304,"responseTime":0,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.499Z","level":"info","message":"GET /index.js?_b=5930 304 - 1ms","node_env":"production","request":{"method":"GET","url":"/index.js?_b=5930","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"*/*","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","referer":"http://192.168.198.200/","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"4ec34d-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39454},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:23.824Z","level":"info","message":"GET /config?_b=5930 304 - 1ms","node_env":"production","request":{"method":"GET","url":"/config?_b=5930","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","referer":"http://192.168.198.200/","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"1c6-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39455},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:24.154Z","level":"info","message":"GET /styles/theme/elk.ico 304 - 0ms","node_env":"production","request":{"method":"GET","url":"/styles/theme/elk.ico","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"47e-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39456},"response":{"statusCode":304,"responseTime":0,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:24.163Z","level":"info","message":"GET /styles/theme/elk.ico 304 - 0ms","node_env":"production","request":{"method":"GET","url":"/styles/theme/elk.ico","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"47e-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39457},"response":{"statusCode":304,"responseTime":0,"contentLength":0}}
{"@timestamp":"2015-05-18T08:53:24.171Z","level":"info","message":"GET /styles/theme/elk.ico 304 - 0ms","node_env":"production","request":{"method":"GET","url":"/styles/theme/elk.ico","headers":{"connection":"upgrade","host":"192.168.198.200","user-agent":"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","accept-language":"ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3","accept-encoding":"gzip, deflate","if-modified-since":"Mon, 18 May 2015 07:59:59 GMT","if-none-match":"W/\"47e-1562410099\""},"remoteAddress":"127.0.0.1","remotePort":39458},"response":{"statusCode":304,"responseTime":0,"contentLength":0}}
Please give me some advice, hope for your help!