Kibana and custom-es exporter cannot connect to Elastic search

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

Version of elastic search we are using is 7.7.1

Error from the custom-es-exporter logs

Welcome to our community! :smiley:

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 :slight_smile:

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.:9200/"}
{"type":"log","@timestamp":"2021-05-11T03:35:19Z","tags":["warning","elasticsearch","admin"],"pid":6,"message":"No living connections"}

"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

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