Anyone have any idea where to start with this one? We're running our
singular master/data node in a docker container, trying to connect via a
Java node client on different boxes. Please help!!
INFO [2015-02-20 02:55:11,411] org.elasticsearch.discovery.ec2:
[localhost] failed to send join request to master
[[esNode][jU4Y42dtQfCPJn1-5jFfYw][esHost][inet[/255.255.255.255]]{master=true}],
reason
[RemoteTransportException[[esNode][inet[/255.255.255.255:9300]][internal:discovery/zen/join]];
nested:
NotSerializableTransportException[[org.elasticsearch.transport.ConnectTransportException]
[localhost][inet[/255.255.255.255:9300]] connect_timeout[30s]; connection
timed out: /255.255.255.255:9300; ]; ]
elasticsearch.yml:
cloud:
aws:
access_key: awsAccessKey
secret_key: awsSecretKey
region: us-west-2
discovery:
type: ec2
ec2:
groups: elasticsearch
availability_zones: us-west-2a
tag:
Elasticsearch: tag
network.public_host: 255.255.255.255
network.publish_host: 255.255.255.255
discovery.zen.ping.multicast.enabled: false
Java node client:
Settings settings = ImmutableSettings.settingsBuilder()
.put("node.name", nodeName)
.put("cloud.aws.access_key", awsAccessKey)
.put("cloud.aws.secret_key", awsSecretKey)
.put("cloud.aws.region", "us-west-2")
.put("cloud.node.auto_attributes", true)
.put("discovery.type", "ec2")
.put("discovery.ec2.groups", "elasticsearch")
.put("discovery.ec2.availability_zones", "us-west-2a")
.put("discovery.ec2.tag.Elasticsearch", "devvpc")
.put("discovery.zen.ping.multicast.enabled", false)
.build();
this.node = nodeBuilder()
.clusterName(clusterName)
.settings(settings)
.client(true)
.node();
this.client = node.client();
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c56baa18-0956-4b88-a063-acd4db82374e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.