Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Cartridge with Spring data ES #8

Open
vmudigal opened this issue Jun 28, 2015 · 1 comment
Open

Cartridge with Spring data ES #8

vmudigal opened this issue Jun 28, 2015 · 1 comment

Comments

@vmudigal
Copy link

I am using this cartridge in an openshift application and i see the elastic search has been started properly. From an another openshift application of mine I am trying to connect this instance using spring data elastic search.

I used the below configuration but the application complains about "No nodes available". I know i am missing out something which I am not able to figure it out.

elasticsearch:transport-client id="client" cluster-nodes="127.5.147.129:9200,127.5.147.129:9300" cluster-name="elasticsearch-558ec2f64382ec9da2000007"

Could you please help me?

I got the bind ip's when I hit "my_es_instance/_nodes".

.... "transport":{"bound_address":"inet[/127.5.147.129:9300]","publish_address":"inet[/10.142.187.226:47307]","profiles":{}},"http":{"bound_address":"inet[/127.5.147.129:9200]","publish_address":"inet[/10.142.187.226:9200]","max_content_length_in_bytes":104857600},"plugins"}...

@caruccio
Copy link
Contributor

Hi.

127.x.x.x address are local only, and should not be accessible from outside the gears itself. Have you tried to use the public IPs (10.x.x.x)?

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

No branches or pull requests

2 participants