Connecting ES Cluster using Thrift


(Umutcan Onal) #1

Hi,

I am a newbie about Elasticsearch. I am trying ES for some of my projects.
I want to connect ES cluster using Thrift with python client. I installed
plugin to all machines and restarted them. Then, I try to connect via
Thrift and it gives me "socket.timeout: timed out" error. I can connect to
my cluster without any problem using HTTP.

Is there any additional configurations on server side or client side?

Thanks,

Umutcan

--
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/b0c110df-1580-46fb-9fa0-2cb656fb2036%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Honza Král) #2

Hi,

no, there is no other configuration. The error you are getting is
weird because it should at least be wrapped in our exception class.
Can you provide more details? maybe increase logging and see if
anything pops out in the logs, also exact versions and code how you
connect to the nodes.

thanks

On Mon, Feb 24, 2014 at 11:03 AM, umutcan@gamegos.com wrote:

Hi,

I am a newbie about Elasticsearch. I am trying ES for some of my projects. I
want to connect ES cluster using Thrift with python client. I installed
plugin to all machines and restarted them. Then, I try to connect via Thrift
and it gives me "socket.timeout: timed out" error. I can connect to my
cluster without any problem using HTTP.

Is there any additional configurations on server side or client side?

Thanks,

Umutcan

--
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/b0c110df-1580-46fb-9fa0-2cb656fb2036%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CABfdDirWA3cJ6c6scKT0u8KCkjUyDZ2zf%2Bk7cNwUobR4Jvp7VQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Umutcan Onal) #3

Hi,

Thank you for replying.

I figured out that the problem was my host parameter having hostname:port
format. After I removed port from host, I managed to connect.

On Monday, February 24, 2014 2:20:24 PM UTC+2, Honza Král wrote:

Hi,

no, there is no other configuration. The error you are getting is
weird because it should at least be wrapped in our exception class.
Can you provide more details? maybe increase logging and see if
anything pops out in the logs, also exact versions and code how you
connect to the nodes.

thanks

On Mon, Feb 24, 2014 at 11:03 AM, <umu...@gamegos.com <javascript:>>
wrote:

Hi,

I am a newbie about Elasticsearch. I am trying ES for some of my
projects. I
want to connect ES cluster using Thrift with python client. I installed
plugin to all machines and restarted them. Then, I try to connect via
Thrift
and it gives me "socket.timeout: timed out" error. I can connect to my
cluster without any problem using HTTP.

Is there any additional configurations on server side or client side?

Thanks,

Umutcan

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/elasticsearch/b0c110df-1580-46fb-9fa0-2cb656fb2036%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
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/cfc3523f-9bd8-4848-af46-f243215010e9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4