# Kibana upgrade trouble - nor 4.0BETA1 neither 3.11 work now!

**URL:** https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151
**Category:** Elasticsearch
**Created:** [October 9, 2014, 12:54am UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151 "2014-10-09T00:54:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Konstantin\_Erman](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@Konstantin\_Erman](https://discuss.elastic.co/u/Konstantin_Erman)
#### Post date: [October 9, 2014, 12:54am UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151/1 "2014-10-09T00:54:59Z")

</div>

Today I have upgraded 3 machines development ES cluster from 1.3.2 to 4.0.0  
BETA1. As far as I can tell it went successfully - cluster state is green,  
it responds to commands and all the data seems intact. New data keep coming  
in and indexing.

BUT somehow I completely lost Kibana cooperation! I have Kibana 3.1.1  
running on port 80 in IIS and when I try access it as usual  
([http://tukc-devlog-1](http://tukc-devlog-1)) I get back that new for 3.1.1 "Connection Failed"  
screen and whatever I do it does not connect!

It says: "You will need to set http.cors.allow-origin in your  
elasticsearch.yml to the correct protocol, hostname, and port (if not 80)  
that your access Kibana from." ES, Kibana and browser are all on the same  
box, so I went to elasticsearch-1.4.0.Beta1\config\elasticsearch.yml and  
added this line:

http.cors.allow-origin: "[http://TUKC-DEVLOG-1](http://TUKC-DEVLOG-1)"

Restarted the node. Still same Connection Failed screen is all I get.

Out of curiosity I tried Kibana 4.0.0 Beta1 too and the result was also  
negative, but even more confusing - "_This version of Kibana requires at  
least Elasticsearch 1.4.0.Beta1_" But that's exactly what I have running!

I'm temporary out of ideas how to make either of them work.

Any advice how to troubleshoot those two separate and probably different  
issues with Kibana?

Thank you!  
Konstantin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3fc58d4a-0b6a-4548-bc7a-e162f289d398%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3fc58d4a-0b6a-4548-bc7a-e162f289d398%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Konstantin\_Erman](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@Konstantin\_Erman](https://discuss.elastic.co/u/Konstantin_Erman)
#### Post date: [October 9, 2014, 2:05am UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151/2 "2014-10-09T02:05:04Z")

</div>

Well, at least I got my Kibana 3.1.1 back! The trick was  
"http.cors.enabled: true" setting in elasticsearch.yml which I found about  
by reading the source code as it is not mentioned on that Kibana 3.1.1  
"Connection Failed" screen, where it would be extremely useful.

Kibana 4 Beta still wants ES version which I already have, but... you  
cannot have it all, can you?

Konstantin  
On Wednesday, October 8, 2014 5:54:59 PM UTC-7, Konstantin Erman wrote:

> Today I have upgraded 3 machines development ES cluster from 1.3.2 to  
> 4.0.0 BETA1. As far as I can tell it went successfully - cluster state is  
> green, it responds to commands and all the data seems intact. New data keep  
> coming in and indexing.
> 
> BUT somehow I completely lost Kibana cooperation! I have Kibana 3.1.1  
> running on port 80 in IIS and when I try access it as usual (  
> [http://tukc-devlog-1](http://tukc-devlog-1)) I get back that new for 3.1.1 "Connection Failed"  
> screen and whatever I do it does not connect!
> 
> It says: "You will need to set http.cors.allow-origin in your  
> elasticsearch.yml to the correct protocol, hostname, and port (if not 80)  
> that your access Kibana from." ES, Kibana and browser are all on the same  
> box, so I went to elasticsearch-1.4.0.Beta1\config\elasticsearch.yml and  
> added this line:
> 
> http.cors.allow-origin: "[http://TUKC-DEVLOG-1](http://TUKC-DEVLOG-1)"
> 
> Restarted the node. Still same Connection Failed screen is all I get.
> 
> Out of curiosity I tried Kibana 4.0.0 Beta1 too and the result was also  
> negative, but even more confusing - "_This version of Kibana requires at  
> least Elasticsearch 1.4.0.Beta1_" But that's exactly what I have running!
> 
> I'm temporary out of ideas how to make either of them work.
> 
> Any advice how to troubleshoot those two separate and probably different  
> issues with Kibana?
> 
> Thank you!  
> Konstantin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/149d49f1-53a6-4bb6-8a6b-3afc656d39f6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/149d49f1-53a6-4bb6-8a6b-3afc656d39f6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Eugene\_Kuhn](https://avatars.discourse-cdn.com/v4/letter/e/d9b06d/32.png) [@Eugene\_Kuhn](https://discuss.elastic.co/u/Eugene_Kuhn)
#### Post date: [October 9, 2014, 12:23pm UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151/3 "2014-10-09T12:23:21Z")

</div>

Got a similiar issue with the beta, getting the "_This version of Kibana  
requires at least Elasticsearch 1.4.0.Beta1_".  
I've got kibana and elasticsearch(ie. [http://localhost:9200](http://localhost:9200)) running on  
the same box  
It seems from what I can see in the logs, that Kibana is pushing the  
requests to [http://localhost:9200/elasticsearch/](http://localhost:9200/elasticsearch/) instead of just  
[http://localhost:9200/](http://localhost:9200/)

{"@timestamp":"2014-10-09T14:10:01+02:00","status":"200","level":"INFO","name":"Kibana","request\_method":"HEAD","request":"/elasticsearch/","path":"/elasticsearch/","query\_string":"","remote\_addr":"172.16.5.90","remote\_user":null,"http\_version":"HTTP/1.1","content\_length":"-","response\_time":32,"message":"HEAD  
/elasticsearch/ 200 32ms - -"}

Maybe somebody left something hardcoded in the beta, don't know. Just my 2  
cents 🙂

On Thursday, 9 October 2014 04:05:04 UTC+2, Konstantin Erman wrote:

> Well, at least I got my Kibana 3.1.1 back! The trick was  
> "http.cors.enabled: true" setting in elasticsearch.yml which I found about  
> by reading the source code as it is not mentioned on that Kibana 3.1.1  
> "Connection Failed" screen, where it would be extremely useful.
> 
> Kibana 4 Beta still wants ES version which I already have, but... you  
> cannot have it all, can you?
> 
> Konstantin  
> On Wednesday, October 8, 2014 5:54:59 PM UTC-7, Konstantin Erman wrote:
> 
> > Today I have upgraded 3 machines development ES cluster from 1.3.2 to  
> > 4.0.0 BETA1. As far as I can tell it went successfully - cluster state is  
> > green, it responds to commands and all the data seems intact. New data keep  
> > coming in and indexing.
> > 
> > BUT somehow I completely lost Kibana cooperation! I have Kibana 3.1.1  
> > running on port 80 in IIS and when I try access it as usual (  
> > [http://tukc-devlog-1](http://tukc-devlog-1)) I get back that new for 3.1.1 "Connection Failed"  
> > screen and whatever I do it does not connect!
> > 
> > It says: "You will need to set http.cors.allow-origin in your  
> > elasticsearch.yml to the correct protocol, hostname, and port (if not 80)  
> > that your access Kibana from." ES, Kibana and browser are all on the same  
> > box, so I went to elasticsearch-1.4.0.Beta1\config\elasticsearch.yml and  
> > added this line:
> > 
> > http.cors.allow-origin: "[http://TUKC-DEVLOG-1](http://TUKC-DEVLOG-1)"
> > 
> > Restarted the node. Still same Connection Failed screen is all I get.
> > 
> > Out of curiosity I tried Kibana 4.0.0 Beta1 too and the result was also  
> > negative, but even more confusing - "_This version of Kibana requires at  
> > least Elasticsearch 1.4.0.Beta1_" But that's exactly what I have  
> > running!
> > 
> > I'm temporary out of ideas how to make either of them work.
> > 
> > Any advice how to troubleshoot those two separate and probably different  
> > issues with Kibana?
> > 
> > Thank you!  
> > Konstantin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3ca43818-a154-4c20-aee8-4bd42de69814%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3ca43818-a154-4c20-aee8-4bd42de69814%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Konstantin\_Erman](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@Konstantin\_Erman](https://discuss.elastic.co/u/Konstantin_Erman)
#### Post date: [October 10, 2014, 5:45pm UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151/4 "2014-10-10T17:45:49Z")

</div>

After all I've figured (with some help) that Kibana 4 uses node info API to  
check that ALL nodes in the cluster are at least 1.4.0.Beta1, The trick is  
that if you have Logstash talking to your ES, chances are it does so using  
"node" protocol, effectively pretending to be extra nodes in cluster which  
are obviously not of the right version. Switching Logstash to http protocol  
does the trick of unblocking Kibana 4.0.0.Beta1.

Konstantin

On Wednesday, October 8, 2014 5:54:59 PM UTC-7, Konstantin Erman wrote:

> Today I have upgraded 3 machines development ES cluster from 1.3.2 to  
> 4.0.0 BETA1. As far as I can tell it went successfully - cluster state is  
> green, it responds to commands and all the data seems intact. New data keep  
> coming in and indexing.
> 
> BUT somehow I completely lost Kibana cooperation! I have Kibana 3.1.1  
> running on port 80 in IIS and when I try access it as usual (  
> [http://tukc-devlog-1](http://tukc-devlog-1)) I get back that new for 3.1.1 "Connection Failed"  
> screen and whatever I do it does not connect!
> 
> It says: "You will need to set http.cors.allow-origin in your  
> elasticsearch.yml to the correct protocol, hostname, and port (if not 80)  
> that your access Kibana from." ES, Kibana and browser are all on the same  
> box, so I went to elasticsearch-1.4.0.Beta1\config\elasticsearch.yml and  
> added this line:
> 
> http.cors.allow-origin: "[http://TUKC-DEVLOG-1](http://TUKC-DEVLOG-1)"
> 
> Restarted the node. Still same Connection Failed screen is all I get.
> 
> Out of curiosity I tried Kibana 4.0.0 Beta1 too and the result was also  
> negative, but even more confusing - "_This version of Kibana requires at  
> least Elasticsearch 1.4.0.Beta1_" But that's exactly what I have running!
> 
> I'm temporary out of ideas how to make either of them work.
> 
> Any advice how to troubleshoot those two separate and probably different  
> issues with Kibana?
> 
> Thank you!  
> Konstantin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/41a62220-799f-4932-b1dc-8ac7a5b08efa%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/41a62220-799f-4932-b1dc-8ac7a5b08efa%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Glenn\_Howald](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@Glenn\_Howald](https://discuss.elastic.co/u/Glenn_Howald)
#### Post date: [November 8, 2014, 12:51am UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151/5 "2014-11-08T00:51:34Z")

</div>

Can you expand on "node" protocol and how I make logstash use http protocol?

When I have the logstash agent turned off, kibana 4 page loads. When I turn  
on my logstash agent, kibana 4 says "This version of Kibana requires at  
least Elasticsearch 1.4.0.Beta1".

On Friday, October 10, 2014 10:45:49 AM UTC-7, Konstantin Erman wrote:

> After all I've figured (with some help) that Kibana 4 uses node info API  
> to check that ALL nodes in the cluster are at least 1.4.0.Beta1, The trick  
> is that if you have Logstash talking to your ES, chances are it does so  
> using "node" protocol, effectively pretending to be extra nodes in cluster  
> which are obviously not of the right version. Switching Logstash to http  
> protocol does the trick of unblocking Kibana 4.0.0.Beta1.
> 
> Konstantin
> 
> On Wednesday, October 8, 2014 5:54:59 PM UTC-7, Konstantin Erman wrote:
> 
> > Today I have upgraded 3 machines development ES cluster from 1.3.2 to  
> > 4.0.0 BETA1. As far as I can tell it went successfully - cluster state is  
> > green, it responds to commands and all the data seems intact. New data keep  
> > coming in and indexing.
> > 
> > BUT somehow I completely lost Kibana cooperation! I have Kibana 3.1.1  
> > running on port 80 in IIS and when I try access it as usual (  
> > [http://tukc-devlog-1](http://tukc-devlog-1)) I get back that new for 3.1.1 "Connection Failed"  
> > screen and whatever I do it does not connect!
> > 
> > It says: "You will need to set http.cors.allow-origin in your  
> > elasticsearch.yml to the correct protocol, hostname, and port (if not 80)  
> > that your access Kibana from." ES, Kibana and browser are all on the same  
> > box, so I went to elasticsearch-1.4.0.Beta1\config\elasticsearch.yml and  
> > added this line:
> > 
> > http.cors.allow-origin: "[http://TUKC-DEVLOG-1](http://TUKC-DEVLOG-1)"
> > 
> > Restarted the node. Still same Connection Failed screen is all I get.
> > 
> > Out of curiosity I tried Kibana 4.0.0 Beta1 too and the result was also  
> > negative, but even more confusing - "_This version of Kibana requires at  
> > least Elasticsearch 1.4.0.Beta1_" But that's exactly what I have  
> > running!
> > 
> > I'm temporary out of ideas how to make either of them work.
> > 
> > Any advice how to troubleshoot those two separate and probably different  
> > issues with Kibana?
> > 
> > Thank you!  
> > Konstantin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6cf5db77-2a1e-4c46-a683-cefb026d18f3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6cf5db77-2a1e-4c46-a683-cefb026d18f3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Konstantin\_Erman](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@Konstantin\_Erman](https://discuss.elastic.co/u/Konstantin_Erman)
#### Post date: [November 8, 2014, 12:56am UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151/6 "2014-11-08T00:56:08Z")

</div>

In your logstash config file configure output similar to this:

output {  
elasticsearch {  
type =\> "eventlog"  
index =\> "eventlog-%{+YYYY.MM.dd}"  
cluster =\> "Scrat"  
host =\> "localhost"  
port =\> "9200"  
\* protocol =\> "http"\*  
idle\_flush\_time =\> 5  
}  
}

```
   * protocol => "http" is what makes the difference*

```

On Friday, November 7, 2014 4:51:35 PM UTC-8, Glenn Howald wrote:

> Can you expand on "node" protocol and how I make logstash use http  
> protocol?
> 
> When I have the logstash agent turned off, kibana 4 page loads. When I  
> turn on my logstash agent, kibana 4 says "This version of Kibana requires  
> at least Elasticsearch 1.4.0.Beta1".
> 
> On Friday, October 10, 2014 10:45:49 AM UTC-7, Konstantin Erman wrote:
> 
> > After all I've figured (with some help) that Kibana 4 uses node info API  
> > to check that ALL nodes in the cluster are at least 1.4.0.Beta1, The trick  
> > is that if you have Logstash talking to your ES, chances are it does so  
> > using "node" protocol, effectively pretending to be extra nodes in cluster  
> > which are obviously not of the right version. Switching Logstash to http  
> > protocol does the trick of unblocking Kibana 4.0.0.Beta1.
> > 
> > Konstantin
> > 
> > On Wednesday, October 8, 2014 5:54:59 PM UTC-7, Konstantin Erman wrote:
> > 
> > > Today I have upgraded 3 machines development ES cluster from 1.3.2 to  
> > > 4.0.0 BETA1. As far as I can tell it went successfully - cluster state is  
> > > green, it responds to commands and all the data seems intact. New data keep  
> > > coming in and indexing.
> > > 
> > > BUT somehow I completely lost Kibana cooperation! I have Kibana 3.1.1  
> > > running on port 80 in IIS and when I try access it as usual (  
> > > [http://tukc-devlog-1](http://tukc-devlog-1)) I get back that new for 3.1.1 "Connection Failed"  
> > > screen and whatever I do it does not connect!
> > > 
> > > It says: "You will need to set http.cors.allow-origin in your  
> > > elasticsearch.yml to the correct protocol, hostname, and port (if not 80)  
> > > that your access Kibana from." ES, Kibana and browser are all on the same  
> > > box, so I went to elasticsearch-1.4.0.Beta1\config\elasticsearch.yml and  
> > > added this line:
> > > 
> > > http.cors.allow-origin: "[http://TUKC-DEVLOG-1](http://TUKC-DEVLOG-1)"
> > > 
> > > Restarted the node. Still same Connection Failed screen is all I get.
> > > 
> > > Out of curiosity I tried Kibana 4.0.0 Beta1 too and the result was also  
> > > negative, but even more confusing - "_This version of Kibana requires  
> > > at least Elasticsearch 1.4.0.Beta1_" But that's exactly what I have  
> > > running!
> > > 
> > > I'm temporary out of ideas how to make either of them work.
> > > 
> > > Any advice how to troubleshoot those two separate and probably different  
> > > issues with Kibana?
> > > 
> > > Thank you!  
> > > Konstantin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/dacbd28c-4cdc-4f8a-b975-5001296dde74%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/dacbd28c-4cdc-4f8a-b975-5001296dde74%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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: [July 6, 2017, 12:51am UTC](https://discuss.elastic.co/t/kibana-upgrade-trouble-nor-4-0beta1-neither-3-11-work-now/20151/7 "2017-07-06T00:51:21Z")

</div>


