[v5.6.1 java transport client] org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available

Hi,

my name is Roman.

I'm really hopeless.
I'm trying to use elastic cloud, but it does not work correctly and I'm getting randomly java error on transport client after update to 5.6.1 version (cluster and client).

My cluster ID is: b5749e.
I use same code on localhost and on stage instance but only production instance which has three nodes has problems.

My client configuration is almost same like in this example https://github.com/elastic/found-shield-example/blob/master/src/main/java/org/elasticsearch/cloud/transport/example/TransportExample.java. Differences are:

  • I use only IPv4
  • my service is running in docker container on kubernetes cluster deployed on amazon EC2 instances in same region like elastic cloud.

What I can do? I don't know what to debug when sometimes it works and suddenly it raise error on same query.


org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [{instance-0000000013}{ripFFg9XTRm3-dd32IU-gA}{Md0lvoshRpmTl-zRUkqNZw}{10.13.41.244}{54.247.167.244:9343}{logical_availability_zone=zone-2, region=eu-west-1, availability_zone=eu-west-1a}, {instance-0000000011}{hEHcV_pXSiKmypiNjDc8fA}{SesJk5PvRxWU9PTt8Qkj_Q}{10.85.42.130}{54.247.191.210:9343}{logical_availability_zone=zone-0, region=eu-west-1, availability_zone=eu-west-1c}, {instance-0000000012}{obCopx_xTxeaIhospbQ8pw}{MQKdDmv_Tsyn5bfqyASzrQ}{10.11.151.5}{46.137.124.97:9343}{logical_availability_zone=zone-1, region=eu-west-1, availability_zone=eu-west-1b}]
at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:291)
at org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:51)
at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1067)
at org.elasticsearch.transport.TransportService$Adapter.lambda$onConnectionClosed$6(TransportService.java:893)
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:569)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.elasticsearch.transport.NodeDisconnectedException: [instance-0000000011][54.247.191.210:9343][indices:data/read/search] disconnected


Thank you.
Best regards,
Roman

Please see

https://discuss.elastic.co/t/now-live-new-elastic-cloud-standard-support/84161?source_topic_id=101767

for how to request support for Elastic Cloud :slight_smile:

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