Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoNodeAvailableException: None of the configured nodes are available #22

Open
marbetschar opened this issue Aug 11, 2016 · 11 comments
Open

Comments

@marbetschar
Copy link

Any Idea how to fix this error? :(

Exception while waiting for cluster state: YELLOW due to
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []

bin/importer.sh config.json

"client.transport.ignore_cluster_name": true,
"client.transport.ping_timeout": "5s",
"client.transport.nodes_sampler_interval": "5s",
"client.transport.sniff": false,
"cluster.name": "goldncompass-dev",
"elasticsearch.hosts": "127.0.0.1:9300"

elasticsearch.yml

# Use a descriptive name for your cluster:
#
cluster.name: goldncompass-dev

# Use a descriptive name for the node:
#
node.name: Shira

# Set the bind address to a specific IP (IPv4 or IPv6):
#
network.host: 127.0.0.1

Elastic search v2.3.5 logs the following:

[2016-08-12 00:01:37,316][WARN ][transport.netty          ] [Shira] exception caught on transport layer [[id: 0x73a297fa, /127.0.0.1:56407 => /127.0.0.1:9300]], closing connection
java.lang.IllegalStateException: Message not fully read (request) for requestId [0], action [cluster/nodes/info], readerIndex [39] vs expected [57]; resetting
        at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:121)
@salyh
Copy link
Owner

salyh commented Aug 23, 2016

Try master branch and build it yourself

@salyh
Copy link
Owner

salyh commented Aug 23, 2016

@tehsphinx
Copy link

tried the zip of version 1.0-es2.3 with elasticsearch:2.3.5 and still getting "None of the configured nodes are available"

@tehsphinx
Copy link

ok works if setting following settings:

"client.transport.ignore_cluster_name": true,
"client.transport.sniff": false,

@tehsphinx
Copy link

BTW: thanks for the great work!

@salyh
Copy link
Owner

salyh commented Sep 1, 2016

Will investigate this further

@geekpete
Copy link

geekpete commented Sep 2, 2016

With the transport client, it's best to also ensure the same exact version of java is used on both the server nodes and any clients connecting to it with the transport client protocol. With the REST client this is not an issue and can work against different elasticsearch versions in many cases as well.

@olesk75
Copy link

olesk75 commented Oct 9, 2016

Also having the same issue with both 1.0-es2.3 and master, and changing parameters like tehsphinx did not help. However, I'm at 5.0.0-beta1, so that might be the reason I guess (5.0.0-beta1, Build: 7eb6260/2016-09-20T23:10:37.942Z, JVM: 1.8.0_101).

@salyh
Copy link
Owner

salyh commented Oct 9, 2016

ES 5.0.0-x not supported yet!

@nitinsridar
Copy link

I'm AWS Elasticsearch and Transport Client for communication getting the below error, please help out if you found any solutions

"exception": "org.elasticsearch.client.transport.NoNodeAvailableException",
"message": "None of the configured nodes are available: [{#transport#-1}

@ymihay
Copy link

ymihay commented Aug 3, 2017

AWS ElasticSearch still doesn't support the Elastic Search native transport protocol. You might want to use REST based client instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants