# Kibana error in log : Unable to connect to Elasticsearch Error: master not discovered exception

**URL:** <https://discuss.elastic.co/t/kibana-error-in-log-unable-to-connect-to-elasticsearch-error-master-not-discovered-exception/247103>\
**Category:** Kibana\
**Created:** [September 1, 2020, 1:57pm UTC](https://discuss.elastic.co/t/kibana-error-in-log-unable-to-connect-to-elasticsearch-error-master-not-discovered-exception/247103 "2020-09-01T13:57:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FREDDIE2020](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/freddie2020/32/66882_2.png) [@FREDDIE2020](https://discuss.elastic.co/u/FREDDIE2020)\
**Post date:** [September 1, 2020, 1:57pm UTC](https://discuss.elastic.co/t/kibana-error-in-log-unable-to-connect-to-elasticsearch-error-master-not-discovered-exception/247103/1 "2020-09-01T13:57:50Z")

</div>

Hello All,

I am trying to execute mt Kibana UI login and it fails.

I checked the logs for the pod and this is what it shows:

[lewellf\_adm@awva-pclif03001 kibana]$ kubectl logs kibana-75f647cf75-5l5lz -n monitoring-tools  
{"type":"log","@timestamp":"2020-09-01T13:19:36Z","tags":["warning","plugins-discovery"],"pid":1,"message":"Expect plugin "id" in camelCase, but found: apm\_oss"}  
{"type":"log","@timestamp":"2020-09-01T13:19:37Z","tags":["info","plugins-service"],"pid":1,"message":"Plugin "visTypeXy" is disabled."}

`@babel/polyfill` is deprecated. Please, use required parts of `core-js`  
and `regenerator-runtime/runtime` separately  
{"type":"log","@timestamp":"2020-09-01T13:19:40Z","tags":["warning","legacy-service"],"pid":1,"message":"Some installed third party plugin(s) [opendistro-alerting, opendistro-anomaly-detection-kibana, opendistro-sql-workbench, opendistro\_index\_management\_kibana, opendistro\_security] are using the legacy plugin format and will no longer work in a future Kibana release. Please refer to [https://ela.st/kibana-breaking-changes-8-0](https://ela.st/kibana-breaking-changes-8-0) for a list of breaking changes and [https://ela.st/kibana-platform-migration](https://ela.st/kibana-platform-migration) for documentation on how to migrate legacy plugins."}  
{"type":"log","@timestamp":"2020-09-01T13:19:41Z","tags":["info","plugins-system"],"pid":1,"message":"Setting up [42] plugins: [usageCollection,telemetryCollectionManager,telemetry,kibanaLegacy,devTools,uiActions,statusPage,share,newsfeed,mapsLegacy,kibanaUtils,kibanaReact,indexPatternManagement,inspector,embeddable,esUiShared,discover,charts,bfetch,expressions,data,home,console,apm\_oss,management,advancedSettings,telemetryManagementSection,visualizations,visTypeVislib,visTypeVega,visTypeTimeseries,visTypeTable,visTypeTimelion,visTypeTagcloud,visTypeMetric,visTypeMarkdown,inputControlVis,savedObjects,navigation,visualize,dashboard,savedObjectsManagement]"}  
{"type":"log","@timestamp":"2020-09-01T13:19:41Z","tags":["info","savedobjects-service"],"pid":1,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}  
{"type":"log","@timestamp":"2020-09-01T13:19:41Z","tags":["info","savedobjects-service"],"pid":1,"message":"Starting saved objects migrations"}  
{"type":"log","@timestamp":"2020-09-01T13:20:11Z","tags":["warning","saved objects-service"],"pid":1,"message":"Unable to connect to Elasticsearch. Error: [master\_not\_discovered\_exception] null"}

Can someone please help me fix this issue?

Greatly appreciated!

Freddie2020

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [September 1, 2020, 2:29pm UTC](https://discuss.elastic.co/t/kibana-error-in-log-unable-to-connect-to-elasticsearch-error-master-not-discovered-exception/247103/2 "2020-09-01T14:29:29Z")

</div>

Hi  
Since your logs show that you're using OpenDistro, I would recommend to raise an issue on their forum.  
Best,  
Matthias

---

<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 29, 2020, 2:29pm UTC](https://discuss.elastic.co/t/kibana-error-in-log-unable-to-connect-to-elasticsearch-error-master-not-discovered-exception/247103/3 "2020-09-29T14:29:33Z")

</div>

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