ES Cluster : NoNodeAvailableException[None of the configured nodes are available

Hello All Problem Resolvers,

We have 3 nodes for elasticsearch 5.5.1. Lets say N1,N2 and N3. All three nodes have been made master node.
Each of this node is running on single VM. Lets say V1, V2 and V3. So;

  1. N1 (Elasticsearch 5.5.1) is running on (virtaul machine) V1.
  2. N2 (Elasticsearch 5.5.1) is running on (virtaul machine) V2.
  3. N3 (Elasticsearch 5.5.1) is running on (virtaul machine) V3.

Below is the contents of the elasticsearch.yml file
network.bind_host: ''
transport.bind_host: localhost
transport.tcp.port: 9300
http.port: 9200
indices.query.bool.max_clause_count: 10240
bootstrap.system_call_filter: false qa-cluster esupgrade-1-ddqa
node.master: true
gateway.expected_nodes: 1
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping_timeout: 30s ["","",""]
transport.publish_host: "_eth2:ipv4_"
network.publish_host: "_eth2:ipv4_"
action.auto_create_index: true
transport.tcp.compress: true
thread_pool.index.queue_size: 10000 1000 10000
thread_pool.get.queue_size : 10000

## Add CORS Support
http.cors.enabled : true
http.cors.allow-origin: "/.*/"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
http.max_content_length : 500mb


Now, the cluster is started and when we try to connect to the Elasticsearch from java client, we get the below exception
NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{qVvJFIi5QUSnf0T6cWi0_g}{}{}, {#transport#-2}{4vF9hGcUQoig0tXDIZ6UHA}{}{}, {#transport#-3}{eM0M7jcwRjWc7iYPH2ncQw}{}{}]]

Someone here, suggest me how to fix this issue.


Why this?
network.bind_host: ''
transport.bind_host: localhost

Why not just this?

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