# /elasticsearch-6.4.0-SNAPSHOT.tar.gz failed, reason: connect ECONNREFUSED

**URL:** <https://discuss.elastic.co/t/elasticsearch-6-4-0-snapshot-tar-gz-failed-reason-connect-econnrefused/130815>\
**Category:** Kibana\
**Created:** [May 7, 2018, 10:53am UTC](https://discuss.elastic.co/t/elasticsearch-6-4-0-snapshot-tar-gz-failed-reason-connect-econnrefused/130815 "2018-05-07T10:53:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheAnonymousModeIT](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@TheAnonymousModeIT](https://discuss.elastic.co/u/TheAnonymousModeIT)\
**Post date:** [May 7, 2018, 10:53am UTC](https://discuss.elastic.co/t/elasticsearch-6-4-0-snapshot-tar-gz-failed-reason-connect-econnrefused/130815/1 "2018-05-07T10:53:37Z")

</div>

Hi,

if I start yarn es snapshot I get an error message: /elasticsearch-6.4.0-SNAPSHOT.tar.gz failed, reason: connect ECONNREFUSED

I checkted the proxy settings and did everything like described in the manual. But I can not find the problem. Please help.

**Initial setup:**  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/c/cc7b8d0e51d458d715247a93da40c5842ca23712.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/9/b9a7bb931065afbf8ea67ef831bb57d85b10e8af.png)

**start elasticserach: (here is the error)**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/0/7043d08775f74adf01776932ae96ba7acae3403b.png)  
I also restarted the server but it hat no effect.

**proxy settings are correct, I can download files with npm and yarn (please see below)**  
using cntlm

npm proxy test:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/0/40c4c9c4e14fb587224f5f81c6620e932d2b5cd9.png)

yarn proxy test:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/5/8573b7ed81ea087b63e3a008f0f6f8e5c8cdf7fc.png)

Edit: I also deactivated cntlm and used yast proxy settings - with the same result.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [May 7, 2018, 3:50pm UTC](https://discuss.elastic.co/t/elasticsearch-6-4-0-snapshot-tar-gz-failed-reason-connect-econnrefused/130815/2 "2018-05-07T15:50:29Z")

</div>

Not sure why you are having problems downloading the 6.4 elasticsearch snapshot but you could work around the problem by running elasticsearch from source.

Clone the elasticsearch project in a sibling directory to your kibana directy. Checkout 6.x branch. Then, in the kibana directory start elasticsearch with the command `yarn es source`.

---

<div class="post-metadata">

**Author:** ![TheAnonymousModeIT](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@TheAnonymousModeIT](https://discuss.elastic.co/u/TheAnonymousModeIT)\
**Post date:** [May 8, 2018, 7:17am UTC](https://discuss.elastic.co/t/elasticsearch-6-4-0-snapshot-tar-gz-failed-reason-connect-econnrefused/130815/3 "2018-05-08T07:17:52Z")

</div>

After a debugg session I found a node.js class that is using the http module without any proxy configuration.

---

<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:** [June 5, 2018, 7:17am UTC](https://discuss.elastic.co/t/elasticsearch-6-4-0-snapshot-tar-gz-failed-reason-connect-econnrefused/130815/4 "2018-06-05T07:17:59Z")

</div>

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