# Kibana will not connect to elasticsearch

**URL:** https://discuss.elastic.co/t/kibana-will-not-connect-to-elasticsearch/350773
**Category:** Kibana
**Created:** [January 10, 2024, 3:53pm UTC](https://discuss.elastic.co/t/kibana-will-not-connect-to-elasticsearch/350773 "2024-01-10T15:53:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [January 11, 2024, 11:34am UTC](https://discuss.elastic.co/t/kibana-will-not-connect-to-elasticsearch/350773/2 "2024-01-11T11:34:14Z")

</div>

Hi @Scott_Barker,

Looking at the Kibana log looks like you have a potential authentication issue:

> [@Scott\_Barker](#):
>
> Jan 10 15:38:39 elkservernamenode1 kibana[703628]: security\_exception: failed to authenticate service account [elastic/kibana] with token name [elkprod]

How did you generate your tokens? There is a similar thread [here](https://discuss.elastic.co/t/kibana-service-account-not-working-for-v8-upgrade-deprecation-note/296125) including some additional things to check that may help you.

Hope that helps!

---

_[View the full topic](https://discuss.elastic.co/t/kibana-will-not-connect-to-elasticsearch/350773)._
