Elasticsearch error – failed to connect to master




Elastic Search Version : 1.4.4
Device : Mac OS

When ever I start elastic search, sometimes I'll get an error like this

  • failed to connect to master [[Sea Urchin][OCeACmvgQsqw-uRUq25UFA][Srinivasan.local][inet[/192.168.1.12:9300]]], retrying...
 Eventually I found the root cause of this issue. As I’m running elasticsearch on a single server ( development environment ), I had to do only one thing

Go to config/elasticsearch.yml and enable

discovery.zen.ping.multicast.enabled: false

Comments

Popular posts from this blog

Rails Kaminari - Ajax pagination

Rails 4, MySQL, and Emoji (Mysql2::Error: Incorrect string value: '\xF0\x9F\x8C\x9D')