# ENOTFOUND while installing plugin from command section in deployment file

**URL:** https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553
**Category:** Kibana
**Created:** [March 17, 2021, 5:20pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553 "2021-03-17T17:20:47Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Elyes\_Jarroudi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elyes_jarroudi/32/85705_2.png) [@Elyes\_Jarroudi](https://discuss.elastic.co/u/Elyes_Jarroudi)
#### Post date: [March 17, 2021, 5:20pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/1 "2021-03-17T17:20:48Z")

</div>

this is my code  
` lifecycle: postStart: exec: command: - bash - -c - | bin/kibana-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-alerting/opendistroAlertingKibana-1.13.0.0.zip `

this is the error i keep getting and getting my pod in a crashloop

`Exec lifecycle hook ([bash -c bin/kibana-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-alerting/opendistroAlertingKibana-1.13.0.0.zip]) for Container "kibana" in Pod "kibana-7d97dd46f7-vv5hp_tools(62f1ec74-3350-4dba-8637-77ad6da49e9a)" failed - error: command 'bash -c bin/kibana-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-alerting/opendistroAlertingKibana-1.13.0.0.zip ' exited with 70: Error: Client request error: getaddrinfo ENOTFOUND d3g5vo6xdbdb9a.cloudfront.net d3g5vo6xdbdb9a.cloudfront.net:443 Plugin installation was unsuccessful due to error "Client request error: getaddrinfo ENOTFOUND d3g5vo6xdbdb9a.cloudfront.net d3g5vo6xdbdb9a.cloudfront.net:443" , message: "Attempting to transfer from https://d3g5vo6xdbdb9a.cloudfront.net/downloads/kibana-plugins/opendistro-alerting/opendistroAlertingKibana-1.13.0.0.zip\nError: Client request error: getaddrinfo ENOTFOUND d3g5vo6xdbdb9a.cloudfront.net d3g5vo6xdbdb9a.cloudfront.net:443\nPlugin installation was unsuccessful due to error \"Client request error: getaddrinfo ENOTFOUND d3g5vo6xdbdb9a.cloudfront.net d3g5vo6xdbdb9a.cloudfront.net:443\"\n"`

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [March 17, 2021, 7:08pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/2 "2021-03-17T19:08:23Z")

</div>

I was able to successfully install this into Kibana 7.11.2. What version of Kibana are you on? Have you verified you can download that file from the container?

---

<div class="post-metadata">

### Author: ![Elyes\_Jarroudi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elyes_jarroudi/32/85705_2.png) [@Elyes\_Jarroudi](https://discuss.elastic.co/u/Elyes_Jarroudi)
#### Post date: [March 17, 2021, 7:38pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/3 "2021-03-17T19:38:49Z")

</div>

am running kibana 7.10.2 and yes i was able to install the plugin from inside the container

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [March 17, 2021, 7:51pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/4 "2021-03-17T19:51:03Z")

</div>

Ok, you were able to install from the container - does that mean this is resolved for you, or is there still an issue?

---

<div class="post-metadata">

### Author: ![Elyes\_Jarroudi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elyes_jarroudi/32/85705_2.png) [@Elyes\_Jarroudi](https://discuss.elastic.co/u/Elyes_Jarroudi)
#### Post date: [March 17, 2021, 8:03pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/5 "2021-03-17T20:03:44Z")

</div>

it's still an issue, I want the installation to be automatic whenever the pod is up .

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [March 17, 2021, 9:05pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/6 "2021-03-17T21:05:20Z")

</div>

I can't honestly say I know where to go from here. If you're able to install the plugin manually, but it's failing in the context of how you're automating the installation leads me to think the issue is somewhere there.

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [March 17, 2021, 9:06pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/7 "2021-03-17T21:06:15Z")

</div>

Can you provide a minimal reproduction of this issue?

---

<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: [April 14, 2021, 9:07pm UTC](https://discuss.elastic.co/t/enotfound-while-installing-plugin-from-command-section-in-deployment-file/267553/8 "2021-04-14T21:07:16Z")

</div>

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