# \[KIBANA 4\]Authorization Exception

**URL:** <https://discuss.elastic.co/t/kibana-4-authorization-exception/38688>\
**Category:** Kibana\
**Created:** [January 8, 2016, 2:23am UTC](https://discuss.elastic.co/t/kibana-4-authorization-exception/38688 "2016-01-08T02:23:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Young\_Heon\_Kim](https://avatars.discourse-cdn.com/v4/letter/y/e19b73/32.png) [@Young\_Heon\_Kim](https://discuss.elastic.co/u/Young_Heon_Kim)\
**Post date:** [January 8, 2016, 2:23am UTC](https://discuss.elastic.co/t/kibana-4-authorization-exception/38688/1 "2016-01-08T02:23:04Z")

</div>

Hi.  
I have used ELK for audit mysql connection log & query log.

A few days ago, I changed configuration of elasticsearch on elasticsearch.yml.

- before : network.host: localhost
- after : network.host: 10.xx.xx.xx

## And then, when I try to access kibana using web browser, following error occurred. [http://10.80.51.71:5601/](http://10.80.51.71:5601/)

## Fatal Error Kibana: Unknown error while connecting to Elasticsearch Error: Unknown error while connecting to Elasticsearch Error: Authorization Exception at respond ([http://10.xx.xx.xx:5601/index.js?\_b=7489:85288:15](http://10.xx.xx.xx:5601/index.js?_b=7489:85288:15)) at checkRespForFailure ([http://10.xx.xx.xx:5601/index.js?\_b=7489:85256:7](http://10.xx.xx.xx:5601/index.js?_b=7489:85256:7)) at [http://10.xx.xx.xx:5601/index.js?\_b=7489:83894:7](http://10.xx.xx.xx:5601/index.js?_b=7489:83894:7) at wrappedErrback ([http://10.xx.xx.xx:5601/index.js?\_b=7489:20902:78](http://10.xx.xx.xx:5601/index.js?_b=7489:20902:78)) at wrappedErrback ([http://10.xx.xx.xx:5601/index.js?\_b=7489:20902:78](http://10.xx.xx.xx:5601/index.js?_b=7489:20902:78)) at wrappedErrback ([http://10.xx.xx.xx:5601/index.js?\_b=7489:20902:78](http://10.xx.xx.xx:5601/index.js?_b=7489:20902:78)) at [http://10.xx.xx.xx:5601/index.js?\_b=7489:21035:76](http://10.xx.xx.xx:5601/index.js?_b=7489:21035:76) at Scope.$eval ([http://10.xx.xx.xx:5601/index.js?\_b=7489:22022:28](http://10.xx.xx.xx:5601/index.js?_b=7489:22022:28)) at Scope.$digest ([http://10.xx.xx.xx:5601/index.js?\_b=7489:21834:31](http://10.xx.xx.xx:5601/index.js?_b=7489:21834:31)) at Scope.$apply ([http://10.xx.xx.xx:5601/index.js?\_b=7489:22126:24](http://10.xx.xx.xx:5601/index.js?_b=7489:22126:24))

I executed netstat on this host.

# netstat -an |grep 5601

tcp 0 0 0.0.0.0:5601 0.0.0.0:\* LISTEN  
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55654 ESTABLISHED  
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55653 ESTABLISHED  
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55656 ESTABLISHED  
tcp 0 0 10.xx.xx.xx::5601 10.230.xx.xx:55652 ESTABLISHED

What do I check to resolve this issue?

---

<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:** [January 8, 2016, 3:42am UTC](https://discuss.elastic.co/t/kibana-4-authorization-exception/38688/2 "2016-01-08T03:42:04Z")

</div>

Do you have some kind of authorisation layer in your stack?

---

<div class="post-metadata">

**Author:** ![Young\_Heon\_Kim](https://avatars.discourse-cdn.com/v4/letter/y/e19b73/32.png) [@Young\_Heon\_Kim](https://discuss.elastic.co/u/Young_Heon_Kim)\
**Post date:** [January 8, 2016, 4:47am UTC](https://discuss.elastic.co/t/kibana-4-authorization-exception/38688/3 "2016-01-08T04:47:17Z")

</div>

I just installed ELK and nginx.

It don't have any authorization layer as I know.

---

<div class="post-metadata">

**Author:** ![Young\_Heon\_Kim](https://avatars.discourse-cdn.com/v4/letter/y/e19b73/32.png) [@Young\_Heon\_Kim](https://discuss.elastic.co/u/Young_Heon_Kim)\
**Post date:** [January 11, 2016, 6:14am UTC](https://discuss.elastic.co/t/kibana-4-authorization-exception/38688/4 "2016-01-11T06:14:56Z")

</div>

Do you know why this error occurred?

 ![](https://us1.discourse-cdn.com/elastic/original/2X/5/5d3d1f7f7c41607ba73ab8d3dd6612baf4a689bd.png)

---

<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:** [January 12, 2016, 12:48am UTC](https://discuss.elastic.co/t/kibana-4-authorization-exception/38688/5 "2016-01-12T00:48:53Z")

</div>

Do you have a proxy or something installed?

---

<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, 2:05pm UTC](https://discuss.elastic.co/t/kibana-4-authorization-exception/38688/6 "2017-07-06T14:05:16Z")

</div>


