# Enterprise search on k8s can't connect to the kibana

**URL:** <https://discuss.elastic.co/t/enterprise-search-on-k8s-cant-connect-to-the-kibana/340120>\
**Category:** Elastic Search\
**Tags:** docker, elastic-app-search\
**Created:** [August 4, 2023, 9:50am UTC](https://discuss.elastic.co/t/enterprise-search-on-k8s-cant-connect-to-the-kibana/340120 "2023-08-04T09:50:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PustyB](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@PustyB](https://discuss.elastic.co/u/PustyB)\
**Post date:** [August 4, 2023, 9:50am UTC](https://discuss.elastic.co/t/enterprise-search-on-k8s-cant-connect-to-the-kibana/340120/1 "2023-08-04T09:50:37Z")

</div>

Hi I wanted to install Enterprise Search on my k8s cluster. I did it according to this instruction: [Configuration | Elastic Cloud on Kubernetes [2.9] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/2.9/k8s-enterprise-search-configuration.html)

The problem is that not enterprise search can not connect to kibana. This error appears in the logs:  
`[app-server][WARN]: Failed to connect to Kibana backend. Make sure it is running and healthy.`

The configuration looks like this:

```auto
apiVersion: enterprisesearch.k8s.elastic.co/v1
kind: EnterpriseSearch
metadata:
  name: elasticsystem
  namespace: elastic-system
spec:
  version: 8.9.0
  count: 1
  elasticsearchRef:
    name: elasticsystem
  config:
    kibana.host: https://elasticsystem-kb-http:5601
    elasticsearch.ssl.enabled: true
    kibana.startup_retry.enabled: true
    kibana.startup_retry.interval: 10

```

Kibana is working, and i can exec into the enterprise pod and curl website via  
curl -k [https://elasticsystem-kb-http:5601](https://elasticsystem-kb-http:5601)

```auto
> k get kibana
NAME HEALTH NODES VERSION AGE
elasticsystem green 2 8.9.0 76d

```

Is something missing from my setup?

---

<div class="post-metadata">

**Author:** ![PustyB](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@PustyB](https://discuss.elastic.co/u/PustyB)\
**Post date:** [August 4, 2023, 11:59am UTC](https://discuss.elastic.co/t/enterprise-search-on-k8s-cant-connect-to-the-kibana/340120/2 "2023-08-04T11:59:55Z")

</div>

Ok. I successfully solved this problem.  
I changed log\_level to debug (log\_level: debug) and got the information that it's a problem with CA bundle.  
If anyone had a similar problem I recommend turning log\_level to debug at least for a while to see more information in the logs 🙂

---

<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:** [September 1, 2023, 12:00pm UTC](https://discuss.elastic.co/t/enterprise-search-on-k8s-cant-connect-to-the-kibana/340120/3 "2023-09-01T12:00:00Z")

</div>

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