# Action failed with 'security\_exception

**URL:** https://discuss.elastic.co/t/action-failed-with-security-exception/278400
**Category:** Kibana
**Created:** [July 12, 2021, 9:18am UTC](https://discuss.elastic.co/t/action-failed-with-security-exception/278400 "2021-07-12T09:18:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dridk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dridk/32/91496_2.png) [@dridk](https://discuss.elastic.co/u/dridk)
#### Post date: [July 12, 2021, 9:18am UTC](https://discuss.elastic.co/t/action-failed-with-security-exception/278400/1 "2021-07-12T09:18:54Z")

</div>

Ubuntu 20.04.2 LTS  
Kibana 7.13.3  
ElasticSearch 7.13.3

After a kibana upgrade , I cannot restart the server.  
The webpage stay on "Kibana server is not ready yet" .

My /var/log/kibana.log has :

```auto
{"type":"log","@timestamp":"2021-07-12T09:09:00+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 7 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:09:00+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64013ms."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 8 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64015ms."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 8 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:10:04+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64021ms."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 9 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64013ms."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 9 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:11:08+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64007ms."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 10 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64012ms."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 10 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:12:12+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64013ms."}
{"type":"log","@timestamp":"2021-07-12T09:13:16+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana] Action failed with 'security_exception'. Retrying attempt 11 in 64 seconds."}
{"type":"log","@timestamp":"2021-07-12T09:13:16+00:00","tags":["info","savedobjects-service"],"pid":314043,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> WAIT_FOR_YELLOW_SOURCE. took: 64017ms."}
{"type":"log","@timestamp":"2021-07-12T09:13:16+00:00","tags":["error","savedobjects-service"],"pid":314043,"message":"[.kibana_task_manager] Action failed with 'security_exception'. Retrying attempt 11 in 64 seconds."}
{"type":"log","@timestamp":"2021

```

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [July 12, 2021, 7:21pm UTC](https://discuss.elastic.co/t/action-failed-with-security-exception/278400/2 "2021-07-12T19:21:47Z")

</div>

Can you share what version you're upgrading from? Has elasticsearch been upgrade and can you confirm the cluster is accessible using the credentials in kibana.yml?

---

<div class="post-metadata">

### Author: ![dridk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dridk/32/91496_2.png) [@dridk](https://discuss.elastic.co/u/dridk)
#### Post date: [July 12, 2021, 7:44pm UTC](https://discuss.elastic.co/t/action-failed-with-security-exception/278400/3 "2021-07-12T19:44:34Z")

</div>

I solved it by cleaning all with apt-purge and reinstall from scratch

---

<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 9, 2021, 7:45pm UTC](https://discuss.elastic.co/t/action-failed-with-security-exception/278400/4 "2021-08-09T19:45:29Z")

</div>

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