NoNodeAvailableException but node is reachable if trying manual #599
firstdorsal
started this conversation in
General
Replies: 2 comments
-
What is the exact command line you used to start photon? |
Beta Was this translation helpful? Give feedback.
0 replies
-
i fixed it by naming the elastic cluster and node "photon" in the elasticsearch.yml node.name: photon see https://git.y.gy/firstdorsal/open-donut/-/blob/master/config/elastic/elasticsearch.yml |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi i want to connect from a photon docker container to a elastic container and the networking works (tried that manually) but:
NoNodeAvailableException but node is reachable if trying manual.
Exception in thread "main" NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{6N5qQjtTTQi9NW3EuSHFZw}{192.168.80.2}{192.168.80.2:9300}]]
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:347)
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:245)
at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)
at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:366)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:408)
at org.elasticsearch.client.support.AbstractClient$ClusterAdmin.execute(AbstractClient.java:730)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)
at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:62)
at de.komoot.photon.App.main(App.java:57)
tried with ip, ip and port, hostname, hostname and port, es is working and responding to curl 192.168.80.2:9200 from the photon container.
Beta Was this translation helpful? Give feedback.
All reactions