# Connecting ES Cluster using Thrift

**URL:** <https://discuss.elastic.co/t/connecting-es-cluster-using-thrift/15985>\
**Category:** Elasticsearch\
**Created:** [February 24, 2014, 10:03am UTC](https://discuss.elastic.co/t/connecting-es-cluster-using-thrift/15985 "2014-02-24T10:03:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![umutcan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umutcan/32/625_2.png) [@umutcan](https://discuss.elastic.co/u/umutcan)\
**Post date:** [February 24, 2014, 10:03am UTC](https://discuss.elastic.co/t/connecting-es-cluster-using-thrift/15985/1 "2014-02-24T10:03:01Z")

</div>

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](mailto: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](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](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Honza\_Kral](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/honza_kral/32/876_2.png) [@Honza\_Kral](https://discuss.elastic.co/u/Honza_Kral)\
**Post date:** [February 24, 2014, 12:20pm UTC](https://discuss.elastic.co/t/connecting-es-cluster-using-thrift/15985/2 "2014-02-24T12:20:24Z")

</div>

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](mailto: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](mailto: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](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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CABfdDirWA3cJ6c6scKT0u8KCkjUyDZ2zf%2Bk7cNwUobR4Jvp7VQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CABfdDirWA3cJ6c6scKT0u8KCkjUyDZ2zf%2Bk7cNwUobR4Jvp7VQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![umutcan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umutcan/32/625_2.png) [@umutcan](https://discuss.elastic.co/u/umutcan)\
**Post date:** [February 25, 2014, 2:13pm UTC](https://discuss.elastic.co/t/connecting-es-cluster-using-thrift/15985/3 "2014-02-25T14:13:59Z")

</div>

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](mailto: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](mailto: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](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](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](mailto: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](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](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:47am UTC](https://discuss.elastic.co/t/connecting-es-cluster-using-thrift/15985/4 "2017-07-06T01:47:24Z")

</div>


