Elasticsearch-js: connect ECONNREFUSED

Created on 7 Jul 2014  路  1Comment  路  Source: elastic/elasticsearch-js

Hi,
I was trying to implement this module, and get the following error:

Adding connection to http://localhost:9200/

Elasticsearch DEBUG: 2014-07-07T15:20:33Z
starting request { method: 'HEAD',
requestTimeout: 1000,
castExists: true,
path: '/',
query: { hello: 'elasticsearch!' } }

Elasticsearch TRACE: 2014-07-07T15:20:33Z
-> HEAD http://localhost:9200/?hello=elasticsearch!

<- 0

Elasticsearch ERROR: 2014-07-07T15:20:33Z
Error: Request error, retrying -- connect ECONNREFUSED

Elasticsearch WARNING: 2014-07-07T15:20:33Z
Unable to revive connection: http://localhost:9200/

Elasticsearch WARNING: 2014-07-07T15:20:33Z
No living connections

I'm using node v0.10.26 and elasticsearch 2.2.0

Most helpful comment

This is caused by nodejs not being able to connect to elasticsearch. Verify that elasticsearch is running and accessible via http://localhost:9200.

>All comments

This is caused by nodejs not being able to connect to elasticsearch. Verify that elasticsearch is running and accessible via http://localhost:9200.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sjparkinson picture sjparkinson  路  5Comments

mojzu picture mojzu  路  4Comments

rtercias picture rtercias  路  4Comments

bttf picture bttf  路  4Comments

lizpark picture lizpark  路  3Comments