# Connection error while Using the Curator Command

**URL:** https://discuss.elastic.co/t/connection-error-while-using-the-curator-command/39181
**Category:** Elasticsearch
**Created:** [January 14, 2016, 3:47am UTC](https://discuss.elastic.co/t/connection-error-while-using-the-curator-command/39181 "2016-01-14T03:47:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![balubollam](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@balubollam](https://discuss.elastic.co/u/balubollam)
#### Post date: [January 14, 2016, 3:47am UTC](https://discuss.elastic.co/t/connection-error-while-using-the-curator-command/39181/1 "2016-01-14T03:47:45Z")

</div>

```
      Hi

```

I have installed the curator and PIP.

after that i have used curator,curator show command ..They are working fine.

But when i try to user other commans like

curator show --all-indices

iam getting: "INFO Job starting:show indices

ERROR Connection failure"

And one more query .. is it compulsory to install the APT and YEM repository?...

wget -qO - [https://packages.elastic.co/GPG-KEY-elasticsearch](https://packages.elastic.co/GPG-KEY-elasticsearch) | sudo apt-key add -

When i use this I am getting Error that

sudo:apt-key is not a command

Can anyone please help me in this.Iam new to this Concept

Thanks & Regards

Balaji

---

<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: [January 14, 2016, 5:15am UTC](https://discuss.elastic.co/t/connection-error-while-using-the-curator-command/39181/2 "2016-01-14T05:15:45Z")

</div>

> [@balubollam](#):
>
> And one more query .. is it compulsory to install the APT and YEM repository?...

Only if you want to install something from the repo, yes. For curator, no.

Can you show us the full call and response of the curator command?

---

<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: [July 5, 2017, 11:24pm UTC](https://discuss.elastic.co/t/connection-error-while-using-the-curator-command/39181/3 "2017-07-05T23:24:44Z")

</div>


