alanning / meteor-elasticsearch

Wraps the ElasticSearch NPM package and provides helper functions.
MIT License
12 stars 2 forks source link

error tinytest - insert update partialupdate elasticsearch #2

Open steven-tib opened 8 years ago

steven-tib commented 8 years ago

Hi,

I'm trying to use your package and launched the tinytest, however I'm getting those errors :

tinytest - elasticsearch - insert tinytest - elasticsearch - update tinytest - elasticsearch - partialUpdate

and this is an example of the error message returned for "insert": (if you need other errors messages for update and partialupdate let me know)

Error: Request Timeout after 30000ms
    at Object.index (packages/meteorhacks_async/packages/meteorhacks_async.js:79:1)
    at [object Object]._.extend.insert (packages/alanning_elasticsearch/elasticsearch.js:537:1)
    at Tinytest.add.doc._id (packages/local-test_alanning_elasticsearch/elasticsearch-tests.js:51:1)
    at [object Object].func (packages/tinytest/tinytest.js:636:1)
    at packages/tinytest/tinytest.js:406:1
    at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
    at packages/meteor/timers.js:6:1
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1)

mongo2es works and the test are passed.

(also, I was seeing errors in elasticHQ, my status was red (or yellow when it was the best). and now I cannot access elasticHQ after a reboot even though I restarted the server. I'm trying to solve this issue first..)

Thanks for your help