# "ERR\_TOO\_MANY\_REDIRECTS" after upgrade from 5.4.1 to 5.5.1

**URL:** <https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608>\
**Category:** Kibana\
**Created:** [July 26, 2017, 9:44am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608 "2017-07-26T09:44:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 26, 2017, 9:44am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/1 "2017-07-26T09:44:34Z")

</div>

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`...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2017, 9:47am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/2 "2017-07-26T09:47:43Z")

</div>

Which page?

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 26, 2017, 9:53am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/3 "2017-07-26T09:53:40Z")

</div>

I am sorry.

[https://www.elastic.co/guide/en/kibana/current/upgrade-standard.html](https://www.elastic.co/guide/en/kibana/current/upgrade-standard.html)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2017, 10:02am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/4 "2017-07-26T10:02:28Z")

</div>

Can you share the logs?

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 26, 2017, 10:05am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/5 "2017-07-26T10:05:24Z")

</div>

```auto
# curl -kL 192.168.3.56:5601
curl: (47) Maximum (50) redirects followed

```

Confused, I have restart my ES cluster.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2017, 10:07am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/6 "2017-07-26T10:07:49Z")

</div>

Are there Kibana logs?  
Do you have a proxy installed?  
What about if you use a browser?

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 26, 2017, 10:18am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/7 "2017-07-26T10:18:48Z")

</div>

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:

```auto
/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"}
...

```

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 26, 2017, 10:43am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/8 "2017-07-26T10:43:07Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2017, 7:52pm UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/9 "2017-07-26T19:52:45Z")

</div>

You should upgrade Elasticsearch with Kibana, you don't need to immediately upgrade Logstash and you don't need to reindex.

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 27, 2017, 2:20am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/10 "2017-07-27T02:20:55Z")

</div>

OK, I see. Thanks a lot !

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 27, 2017, 6:23am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/11 "2017-07-27T06:23:11Z")

</div>

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 !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 24, 2017, 6:23am UTC](https://discuss.elastic.co/t/err-too-many-redirects-after-upgrade-from-5-4-1-to-5-5-1/94608/12 "2017-08-24T06:23:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
