# Kibana4: Authentication Exception

**URL:** <https://discuss.elastic.co/t/kibana4-authentication-exception/39063>\
**Category:** Kibana\
**Created:** [January 13, 2016, 7:01am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063 "2016-01-13T07:01:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 13, 2016, 7:01am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/1 "2016-01-13T07:01:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 13, 2016, 8:13am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/2 "2016-01-13T08:13:18Z")

</div>

Anything interesting in the Kibana logs?

---

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 13, 2016, 9:02am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/3 "2016-01-13T09:02:56Z")

</div>

![](https://us1.discourse-cdn.com/elastic/original/2X/6/62be3912279c3417fd91784647c5ba555fd853e4.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 13, 2016, 10:40am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/4 "2016-01-13T10:40:50Z")

</div>

Please don't just post pictures and assume everyone can 1) see them and 2) know's what you want. It's rather rude.

---

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 13, 2016, 11:33am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/5 "2016-01-13T11:33:18Z")

</div>

Hi, @warkolm,  
Thanks for your comments, I wasn't being rude, @magnusbaeck was asking for logs and I just posted.

Here I put it,

```
     I am working with elasticsearch and kibana, I wanted to provide ROLE based
 access to Kibana users, so that only required dashboards would be accessed.
     I've followed [steps given in](https://www.elastic.co/guide/en/shield/current/kibana.html)
I've also created users and assigned roles to them. When I am opening Kibana
 in browser, initially it was giving STATUS: RED as shown in above image. 
         After restarting kibana now I am able to start kibana, It also asks me to enter 
user credentials but when I submit credentials, it just shows a blank page with a
 message "Index Patterns: Please specify a default index pattern" as show below,

```

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

When I click on **More Info** it shows,

```
Error: Please specify a default index pattern
    at http://localhost:5601/bundles/kibana.bundle.js:97016:16
    at processQueue (http://localhost:5601/bundles/commons.bundle.js:42339:29)
    at http://localhost:5601/bundles/commons.bundle.js:42355:28
    at Scope.$eval (http://localhost:5601/bundles/commons.bundle.js:43583:29)
    at Scope.$digest (http://localhost:5601/bundles/commons.bundle.js:43394:32)
    at Scope.$apply (http://localhost:5601/bundles/commons.bundle.js:43691:25)
    at HTMLDocument.<anonymous> (http://localhost:5601/bundles/commons.bundle.js:39820:25)
    at HTMLDocument.jQuery.event.dispatch (http://localhost:5601/bundles/commons.bundle.js:22721:10)
    at HTMLDocument.elemData.handle (http://localhost:5601/bundles/commons.bundle.js:22407:29)
```

---

<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 13, 2016, 9:17pm UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/6 "2016-01-13T21:17:26Z")

</div>

Did you create an index pattern, as per [here](https://www.elastic.co/guide/en/kibana/current/setup.html#connect).

---

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 14, 2016, 5:01am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/7 "2016-01-14T05:01:46Z")

</div>

@warkolm

```
It doesn't allow me to do that, when I start kibana, It just comes up with 
the above message "Please specify a default index pattern"
```

---

<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 14, 2016, 5:44am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/8 "2016-01-14T05:44:06Z")

</div>

So you can't get to settings to create a pattern?

---

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 14, 2016, 5:51am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/9 "2016-01-14T05:51:39Z")

</div>

Yes, I'm not able to create index pattern.

---

<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 14, 2016, 7:21am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/10 "2016-01-14T07:21:19Z")

</div>

I understand that, but you cannot even get to the Settings section in Kibana?

---

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 14, 2016, 7:29am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/11 "2016-01-14T07:29:31Z")

</div>

Yes, I can't go to settings.

---

<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 14, 2016, 7:30am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/12 "2016-01-14T07:30:47Z")

</div>

What happens if you try to go their directly - `http://localhost:5601/app/kibana#/settings`?

---

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 14, 2016, 8:13am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/13 "2016-01-14T08:13:59Z")

</div>

If go to any of the tab Discover, Visualize, Dashboard or Settings, it comes with the same message.  
**Please specify a default index pattern**

---

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [January 14, 2016, 8:18am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/14 "2016-01-14T08:18:51Z")

</div>

Hi @warkolm ,  
what does it mean by providing credentials in kibana.yml file

elasticsearch.username: kibana4-server  
elasticsearch.password: password

because even though I specify here in kibana.yml file, still it asks on load  
of "localhost:5601" and logs in with other uses too.

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 20, 2016, 7:48am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/15 "2016-07-20T07:48:10Z")

</div>

HI krushnat, i have got the same exception like what you have got and like what you have mentioned in the first two images ! did you find any solution for that? if you please reply for this

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [July 20, 2016, 5:55pm UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/16 "2016-07-20T17:55:52Z")

</div>

@sukesh: Can you open the console and see if there are any Javascript errors? In Chrome: _View_ \> _Developer_ \> _Javascript Console_

What version of Kibana are you running?

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 21, 2016, 5:31am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/17 "2016-07-21T05:31:48Z")

</div>

kibana 4.5.0 iam using , there is no javascript error

---

<div class="post-metadata">

**Author:** ![Vishal\_Sharma1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishal_sharma1/32/20207_2.png) [@Vishal\_Sharma1](https://discuss.elastic.co/u/Vishal_Sharma1)\
**Post date:** [August 15, 2016, 7:07pm UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/18 "2016-08-15T19:07:54Z")

</div>

is this solved ?

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [August 17, 2016, 4:52am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/19 "2016-08-17T04:52:59Z")

</div>

Yes it was solved @Vishal_Sharma1

---

<div class="post-metadata">

**Author:** ![Ming-der\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ming-der_wang/32/12666_2.png) [@Ming-der\_Wang](https://discuss.elastic.co/u/Ming-der_Wang)\
**Post date:** [October 24, 2016, 4:12am UTC](https://discuss.elastic.co/t/kibana4-authentication-exception/39063/20 "2016-10-24T04:12:27Z")

</div>

How do you resolved? It happen to me too, when I add shield plugin. I also changed kibana.yml but not working.

[Next page](https://discuss.elastic.co/t/kibana4-authentication-exception/39063.md?page=2)
