# Kibana users cannot connect after upgrade to 7.1.1

**URL:** https://discuss.elastic.co/t/kibana-users-cannot-connect-after-upgrade-to-7-1-1/185240
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [June 11, 2019, 4:16pm UTC](https://discuss.elastic.co/t/kibana-users-cannot-connect-after-upgrade-to-7-1-1/185240 "2019-06-11T16:16:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![arnaudr](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@arnaudr](https://discuss.elastic.co/u/arnaudr)
#### Post date: [June 11, 2019, 4:16pm UTC](https://discuss.elastic.co/t/kibana-users-cannot-connect-after-upgrade-to-7-1-1/185240/1 "2019-06-11T16:16:19Z")

</div>

Hi.

I upgraded an elastic cloud cluster from v6 to elastic+kibana v7.1.1. I have other kibanas in dedicated servers (1 per customer) that I also upgraded to 7.1.1. Each of the other kibanas where using a dedicated kibana index.

After the upgrade, on the othes kibanas, the kibana users cannot log in, with a 403 error shown as json in the browser. I found two insane ways to bypass that :

- switch the kibana.index to .kibana
- give every user the superuser role

My login problem seems to a security one. But I can't find a way to grant a specific user an acces to a specific kibana index.

Thoughts ? Thaks for the help.

---

<div class="post-metadata">

### Author: ![arnaudr](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@arnaudr](https://discuss.elastic.co/u/arnaudr)
#### Post date: [June 11, 2019, 8:56pm UTC](https://discuss.elastic.co/t/kibana-users-cannot-connect-after-upgrade-to-7-1-1/185240/2 "2019-06-11T20:56:34Z")

</div>

The kibana log output:

{"type":"log","@timestamp":"2019-06-11T20:51:31Z","tags":["debug","legacy-service"],"pid":793,"message":"Request will be handled by proxy POST:/api/security/v1/login."}  
{"type":"error","@timestamp":"2019-06-11T20:51:31Z","tags":["debug","security","auth","session"],"pid":793,"level":"error","error":{"message":"Unauthorized","name":"Error","stack":"Error: Unauthorized\n at validate (/usr/share/kibana/node\_modules/hapi-auth-cookie/lib/index.js:153:49)\n at Object.authenticate (/usr/share/kibana/node\_modules/hapi-auth-cookie/lib/index.js:226:26)\n at module.exports.internals.Manager.execute (/usr/share/kibana/node\_modules/hapi/lib/toolkit.js:35:106)\n at module.exports.internals.Auth.test (/usr/share/kibana/node\_modules/hapi/lib/auth.js:92:54)\n at Session.get (/usr/share/kibana/node\_modules/x-pack/plugins/security/server/lib/authentication/session.js:56:47)\n at Authenticator.authenticate (/usr/share/kibana/node\_modules/x-pack/plugins/security/server/lib/authentication/authenticator.js:132:49)\n at Object.server.expose.request [as authenticate] (/usr/share/kibana/node\_modules/x-pack/plugins/security/server/lib/authentication/authenticator.js:288:60)\n at handler (/usr/share/kibana/node\_modules/x-pack/plugins/security/server/routes/api/v1/authenticate.js:34:68)\n at module.exports.internals.Manager.execute (/usr/share/kibana/node\_modules/hapi/lib/toolkit.js:35:106)\n at Object.internals.handler (/usr/share/kibana/node\_modules/hapi/lib/handler.js:50:48)\n at exports.execute (/usr/share/kibana/node\_modules/hapi/lib/handler.js:35:36)\n at Request.\_lifecycle (/usr/share/kibana/node\_modules/hapi/lib/request.js:263:62)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)"},"message":"Unauthorized"}

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [June 12, 2019, 6:35am UTC](https://discuss.elastic.co/t/kibana-users-cannot-connect-after-upgrade-to-7-1-1/185240/3 "2019-06-12T06:35:17Z")

</div>

You'll need to check the Elasticsearch logs. If authentication failed in ES, Kibana will not know why.

---

<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 10, 2019, 6:35am UTC](https://discuss.elastic.co/t/kibana-users-cannot-connect-after-upgrade-to-7-1-1/185240/4 "2019-07-10T06:35:23Z")

</div>

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