# Kibana Dev Tools not working after enabling TLS

**URL:** <https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739>\
**Category:** Kibana\
**Created:** [April 25, 2020, 4:14am UTC](https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739 "2020-04-25T04:14:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckough](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ckough/32/61892_2.png) [@ckough](https://discuss.elastic.co/u/ckough)\
**Post date:** [April 25, 2020, 4:14am UTC](https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739/1 "2020-04-25T04:14:48Z")

</div>

Hi There,

I'm running ELK 7.6.2.  
My ES nodes are 10.10.10.41-43  
My Kibana node is 10.10.10.46  
After enabling TLS, Kibana Dev Tools does not work. The error is:

```auto
ki01 kibana[1916]: {"type":"error","@timestamp":"2020-04-25T04:02:14Z","tags":[],"pid":1916,"level":"error","error":{"message":"getaddrinfo ENOTFOUND l0.10.10.41 l0.10.10.41:9200","name":"Error","stack":"Error: getaddrinfo ENOTFOUND l0.10.10.41 l0.10.10.41:9200\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)","code":"ENOTFOUND"},"url":{"protocol":null,"slashes":null,"auth":null,"host":null,"port":null,"hostname":null,"hash":null,"search":"?path=%2F_cat%2Findices&method=GET","query":{"path":"/_cat/indices","method":"GET"},"pathname":"/api/console/proxy","path":"/api/console/proxy?path=%2F_cat%2Findices&method=GET","href":"/api/console/proxy?path=%2F_cat%2Findices&method=GET"},"message":"getaddrinfo ENOTFOUND l0.10.10.41 l0.10.10.41:9200"}

```

The relevant elasticsearch.yml config on all 3 ES nodes is:

```auto
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.key: certs/es1.key
xpack.security.http.ssl.certificate: certs/es1.crt
xpack.security.http.ssl.certificate_authorities: certs/ca.crt
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.key: certs/es1.key
xpack.security.transport.ssl.certificate: certs/es1.crt
xpack.security.transport.ssl.certificate_authorities: certs/ca.crt

```

The relevant kibana.yml is:

```auto
elasticsearch.hosts: ["https://l0.10.10.41:9200", "https://10.10.10.42:9200", "https://10.10.10.43:9200"]
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/certs/kibana.crt
server.ssl.key: /etc/kibana/certs/kibana.key
elasticsearch.username: "kibana"
elasticsearch.password: "Passw0rd"
elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/certs/ca.crt"]

```

All other aspects of Kibana are working fine. E.g. I can login with elastic user, see my indices coming in, configure indices, etc.

Thanks in advance,  
CK

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [April 25, 2020, 9:10am UTC](https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739/2 "2020-04-25T09:10:15Z")

</div>

It looks like you have a typo there in your first elasticsearch host (`l` instead of `1`): `"https://l0.10.10.41:9200"` should probably be `"https://10.10.10.41:9200"`

---

<div class="post-metadata">

**Author:** ![ckough](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ckough/32/61892_2.png) [@ckough](https://discuss.elastic.co/u/ckough)\
**Post date:** [April 25, 2020, 10:59am UTC](https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739/3 "2020-04-25T10:59:56Z")

</div>

Thanks Joe.

I have corrected the error but now I'm running into

```auto
{"statusCode":504,"error":"Gateway Time-out","message":"Client request timeout"}

```

My test query is just GET /\_cluster/health

Any clues?

Thanks,  
CK

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [April 25, 2020, 8:33pm UTC](https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739/4 "2020-04-25T20:33:13Z")

</div>

Is there anything else in the logs about Kibana not starting up correctly/not being able to reach one of the hosts?

Also, please try to start Kibana with just `elasticsearch.hosts: ["https://10.10.10.42:9200"] ` and `elasticsearch.hosts: ["https://10.10.10.43:9200"] ` and try again, just to check whether the first host is somehow not reachable?

---

<div class="post-metadata">

**Author:** ![ckough](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ckough/32/61892_2.png) [@ckough](https://discuss.elastic.co/u/ckough)\
**Post date:** [April 26, 2020, 4:35am UTC](https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739/5 "2020-04-26T04:35:17Z")

</div>

Hi Joe,

Resolve this but not sure how. I follow your advice to use 42 and then 43 as my ES host and dev tools works fine. Then I switch to 41 and it also works. I then put in my original settings ES cluster and it still works. what the ...

Thanks,  
CK

---

<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:** [May 24, 2020, 4:35am UTC](https://discuss.elastic.co/t/kibana-dev-tools-not-working-after-enabling-tls/229739/6 "2020-05-24T04:35:22Z")

</div>

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