# Kibana throwing 500 Internal Server Error

**URL:** https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287
**Category:** Kibana
**Created:** [June 29, 2017, 1:27pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287 "2017-06-29T13:27:52Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![parora236](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@parora236](https://discuss.elastic.co/u/parora236)
#### Post date: [June 29, 2017, 1:27pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/1 "2017-06-29T13:27:53Z")

</div>

This morning I am seeing that Kibana URL is throwing 500 Internal Server Error:  
Mine is a single instance of Elastic Search and Kibana.  
I've restarted both the services but it is still not helping.  
Could someone recommend what other places I should check for more information which could help with diagnosing and fixing this issue.  
http://:5601/app/kibana  
Error:  
{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}

---

<div class="post-metadata">

### Author: ![parora236](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@parora236](https://discuss.elastic.co/u/parora236)
#### Post date: [June 29, 2017, 2:07pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/2 "2017-06-29T14:07:42Z")

</div>

The versions are as follows:  
Elastic Search: 5.2.0  
Kibana: 4.6.1  
Would these be compatible and could this be the reason for error response from Kibana?

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [July 3, 2017, 5:44pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/3 "2017-07-03T17:44:36Z")

</div>

Hi Prateek, your diagnosis is correct. Beginning with version 5.0, we've moved to an ["Elastic Stack" model](https://www.elastic.co/products), in which all products need to share the same version number. So you'll need to use Kibana 5.2.0 to connect to Elasticsearch 5.2.0.

Pleas see [this version compatibility chart](https://github.com/elastic/kibana#version-compatibility-with-elasticsearch) for more information on how the Kibana and Elasticsearch version numbers interact.

Thanks,  
CJ

---

<div class="post-metadata">

### Author: ![parora236](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@parora236](https://discuss.elastic.co/u/parora236)
#### Post date: [July 5, 2017, 1:56pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/4 "2017-07-05T13:56:24Z")

</div>

Thank you CJ for the response.

I'm discussing with my team internally to see what they think about it and when can we do the upgrade.

Could you suggest me some other places to look at to see for errors / logs which can support this?

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [July 5, 2017, 10:47pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/5 "2017-07-05T22:47:54Z")

</div>

The Kibana server logs should provide more information on the version conflicts.

CJ

---

<div class="post-metadata">

### Author: ![parora236](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@parora236](https://discuss.elastic.co/u/parora236)
#### Post date: [July 5, 2017, 11:44pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/6 "2017-07-05T23:44:57Z")

</div>

Hi CJ,

Could you advise where I can find the logs on the Linux server, could you point me to some documentation?  
A single Linux server is hosting Elastic Search and Kibana, in my case.

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [July 6, 2017, 3:35pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/7 "2017-07-06T15:35:16Z")

</div>

By default, Kibana logs to `stdout`. You can take a look at the [configuration settings](https://www.elastic.co/guide/en/kibana/current/settings.html) to see how you can change this to log to a file.

CJ

---

<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 3, 2017, 3:35pm UTC](https://discuss.elastic.co/t/kibana-throwing-500-internal-server-error/91287/8 "2017-08-03T15:35:21Z")

</div>

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