# Kibana and custom-es exporter cannot connect to Elastic search

**URL:** <https://discuss.elastic.co/t/kibana-and-custom-es-exporter-cannot-connect-to-elastic-search/272550>\
**Category:** Elasticsearch\
**Created:** [May 10, 2021, 8:20am UTC](https://discuss.elastic.co/t/kibana-and-custom-es-exporter-cannot-connect-to-elastic-search/272550 "2021-05-10T08:20:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![harsh9](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh9/32/88503_2.png) [@harsh9](https://discuss.elastic.co/u/harsh9)\
**Post date:** [May 10, 2021, 8:20am UTC](https://discuss.elastic.co/t/kibana-and-custom-es-exporter-cannot-connect-to-elastic-search/272550/1 "2021-05-10T08:20:15Z")

</div>

I cannot connect to my es from my kibana pod and my custom-es-exporter pod, the error which is thrown is

 ![Screenshot 2021-05-10 at 1.47.46 PM](https://us1.discourse-cdn.com/elastic/original/3X/3/0/30f968d857795f963bdeb80e156ce12138201983.png)

Version of elastic search we are using is 7.7.1

Error from the custom-es-exporter logs

 ![Screenshot 2021-05-10 at 1.49.24 PM](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da866901391a914164505f86acc02716c87a9fc1.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:** [May 10, 2021, 11:13pm UTC](https://discuss.elastic.co/t/kibana-and-custom-es-exporter-cannot-connect-to-elastic-search/272550/2 "2021-05-10T23:13:10Z")

</div>

Welcome to our community! 😃

Please don't post pictures of text, they are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<div class="post-metadata">

**Author:** ![harsh9](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh9/32/88503_2.png) [@harsh9](https://discuss.elastic.co/u/harsh9)\
**Post date:** [May 11, 2021, 6:44am UTC](https://discuss.elastic.co/t/kibana-and-custom-es-exporter-cannot-connect-to-elastic-search/272550/3 "2021-05-11T06:44:38Z")

</div>

here is the text form of the above screenshot

```
{"type":"log","@timestamp":"2021-05-11T03:35:18Z","tags":["warning","elasticsearch","data"],"pid":6,"message":"No living connections"}

```

{"type":"log","@timestamp":"2021-05-11T03:35:18Z","tags":["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch due to Error: No Living connections error"}  
{"type":"log","@timestamp":"2021-05-11T03:35:19Z","tags":["warning","elasticsearch","admin"],"pid":6,"message":"Unable to revive connection: [http://k8s-efk-es-data.kube-system.svc.cluster.local](http://k8s-efk-es-data.kube-system.svc.cluster.local).:9200/"}  
{"type":"log","@timestamp":"2021-05-11T03:35:19Z","tags":["warning","elasticsearch","admin"],"pid":6,"message":"No living connections"}

---

<div class="post-metadata">

**Author:** ![harsh9](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harsh9/32/88503_2.png) [@harsh9](https://discuss.elastic.co/u/harsh9)\
**Post date:** [May 13, 2021, 4:54pm UTC](https://discuss.elastic.co/t/kibana-and-custom-es-exporter-cannot-connect-to-elastic-search/272550/4 "2021-05-13T16:54:57Z")

</div>

````auto
"stacktrace": ["org.elasticsearch.transport.RemoteTransportException: [k8s-efk-es-master-0][10.4.27.130:9300][internal:cluster/coordination/join]",
"Caused by: org.elasticsearch.transport.ConnectTransportException: [k8s-efk-es-data-1][127.0.0.1:9300] handshake failed. unexpected remote node {k8s-efk-es-master-0}{0ltsBYReSH-vMGFmB9sOKw}{J1mWbTfXSniNsR9kTeB0Xw}{10.4.27.130}{10.4.27.130:9300}{mr}{xpack.installed=true, transform.node=false}", ```

Getting this in the data nodes 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:** [June 10, 2021, 4:55pm UTC](https://discuss.elastic.co/t/kibana-and-custom-es-exporter-cannot-connect-to-elastic-search/272550/5 "2021-06-10T16:55:48Z")

</div>

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