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

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

start elasticserach: (here is the error)


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:

yarn proxy test:

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

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.

1 Like

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

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