I followed this page and upgrade kibana from 5.4.1 to 5.5.1, then I can not access kibana with a error ERR_TOO_MANY_REDIRECTS
...
Which page?
Can you share the logs?
# curl -kL 192.168.3.56:5601
curl: (47) Maximum (50) redirects followed
Confused, I have restart my ES cluster.
Are there Kibana logs?
Do you have a proxy installed?
What about if you use a browser?
The same error with a browser.
And I use nginx to proxy kibana, I think the error is not related to the proxy, COZ I use curl IP:PORT locally and report the same error.
Here is part of the log of kibana after I access kibana one time:
/var/log/kibana# tail -f kibana.stdout
{"type":"response","@timestamp":"2017-07-26T10:15:40Z","tags":[],"pid":29113,"method":"get","statusCode":302,"req":{"url":"/","method":"get","headers":{"host":"kibana.oupeng.com","x-real-ip":"58.132.204.146","x-real-port":"56703","x-forwarded-for":"58.132.204.146","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"zh-CN,zh;q=0.8,en;q=0.6"},"remoteAddress":"192.168.5.41","userAgent":"192.168.5.41"},"res":{"statusCode":302,"responseTime":10,"contentLength":9},"message":"GET / 302 10ms - 9.0B"}
{"type":"response","@timestamp":"2017-07-26T10:15:40Z","tags":[],"pid":29113,"method":"get","statusCode":302,"req":{"url":"/login?next=%2F","method":"get","headers":{"host":"kibana.oupeng.com","x-real-ip":"58.132.204.146","x-real-port":"56703","x-forwarded-for":"58.132.204.146","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"zh-CN,zh;q=0.8,en;q=0.6"},"remoteAddress":"192.168.5.41","userAgent":"192.168.5.41"},"res":{"statusCode":302,"responseTime":3,"contentLength":9},"message":"GET /login?next=%2F 302 3ms - 9.0B"}
{"type":"response","@timestamp":"2017-07-26T10:15:40Z","tags":[],"pid":29113,"method":"get","statusCode":302,"req":{"url":"/","method":"get","headers":{"host":"kibana.oupeng.com","x-real-ip":"58.132.204.146","x-real-port":"56703","x-forwarded-for":"58.132.204.146","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"zh-CN,zh;q=0.8,en;q=0.6"},"remoteAddress":"192.168.5.41","userAgent":"192.168.5.41"},"res":{"statusCode":302,"responseTime":6,"contentLength":9},"message":"GET / 302 6ms - 9.0B"}
{"type":"response","@timestamp":"2017-07-26T10:15:40Z","tags":[],"pid":29113,"method":"get","statusCode":302,"req":{"url":"/login?next=%2F","method":"get","headers":{"host":"kibana.oupeng.com","x-real-ip":"58.132.204.146","x-real-port":"56703","x-forwarded-for":"58.132.204.146","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"zh-CN,zh;q=0.8,en;q=0.6"},"remoteAddress":"192.168.5.41","userAgent":"192.168.5.41"},"res":{"statusCode":302,"responseTime":2,"contentLength":9},"message":"GET /login?next=%2F 302 2ms - 9.0B"}
{"type":"response","@timestamp":"2017-07-26T10:15:40Z","tags":[],"pid":29113,"method":"get","statusCode":302,"req":{"url":"/","method":"get","headers":{"host":"kibana.oupeng.com","x-real-ip":"58.132.204.146","x-real-port":"56703","x-forwarded-for":"58.132.204.146","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"zh-CN,zh;q=0.8,en;q=0.6"},"remoteAddress":"192.168.5.41","userAgent":"192.168.5.41"},"res":{"statusCode":302,"responseTime":6,"contentLength":9},"message":"GET / 302 6ms - 9.0B"}
{"type":"response","@timestamp":"2017-07-26T10:15:40Z","tags":[],"pid":29113,"method":"get","statusCode":302,"req":{"url":"/login?next=%2F","method":"get","headers":{"host":"kibana.oupeng.com","x-real-ip":"58.132.204.146","x-real-port":"56703","x-forwarded-for":"58.132.204.146","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"zh-CN,zh;q=0.8,en;q=0.6"},"remoteAddress":"192.168.5.41","userAgent":"192.168.5.41"},"res":{"statusCode":302,"responseTime":2,"contentLength":9},"message":"GET /login?next=%2F 302 2ms - 9.0B"}
{"type":"response","@timestamp":"2017-07-26T10:15:40Z","tags":[],"pid":29113,"method":"get","statusCode":302,"req":{"url":"/","method":"get","headers":{"host":"kibana.oupeng.com","x-real-ip":"58.132.204.146","x-real-port":"56703","x-forwarded-for":"58.132.204.146","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"zh-CN,zh;q=0.8,en;q=0.6"},"remoteAddress":"192.168.5.41","userAgent":"192.168.5.41"},"res":{"statusCode":302,"responseTime":6,"contentLength":9},"message":"GET / 302 6ms - 9.0B"}
...
I just upgraded kibana, should I upgrade the ES and Logstash to 5.5.1 at the same time, maybe it is the problem?
I rollback a kibana node to 5.4.1 and it works, confused...so I wonder if I should reindex after upgrade?
You should upgrade Elasticsearch with Kibana, you don't need to immediately upgrade Logstash and you don't need to reindex.
OK, I see. Thanks a lot !
Hi warkolm,
Upgrade ES cluster to 5.5.1, and kibana 5.5.1 works.
There is a little issue that Logstash nodes are not displayed on kibana monitoring page... and I will upgrade logstash to 5.5.1 later.
Thanks again !
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.