# elasticsearch.exceptions.TransportError: \<unprintable TransportError object\>

**URL:** <https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109>\
**Category:** Elasticsearch\
**Created:** [July 9, 2018, 8:30am UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109 "2018-07-09T08:30:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishnu\_P\_S](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@Vishnu\_P\_S](https://discuss.elastic.co/u/Vishnu_P_S)\
**Post date:** [July 9, 2018, 8:30am UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109/1 "2018-07-09T08:30:58Z")

</div>

I have developed a flask Api to read records from elasticsearch. This was working correctly earlier, but now its throwing an error **elasticsearch.exceptions.TransportError:**

Please help me to solve this issue. Thanks in advance

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 9, 2018, 8:46am UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109/2 "2018-07-09T08:46:33Z")

</div>

I think you will need to provide a lot more information than that if someone is going to be able to help. Please show exactly what you have done to get this error, which versions you are running as well as the contents of any relevant log files.

---

<div class="post-metadata">

**Author:** ![Vishnu\_P\_S](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@Vishnu\_P\_S](https://discuss.elastic.co/u/Vishnu_P_S)\
**Post date:** [July 9, 2018, 8:48am UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109/3 "2018-07-09T08:48:49Z")

</div>

Elasticsearch version is 6.3.0. What I was doing is by using invenio\_records\_rest, I have developed an API to fetch data from elasticsearch.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 9, 2018, 8:50am UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109/4 "2018-07-09T08:50:53Z")

</div>

Please show your code and configuration. Are you connecting to Elasticsearch using the correct port (`9200` for HTTP)?

---

<div class="post-metadata">

**Author:** ![Vishnu\_P\_S](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@Vishnu\_P\_S](https://discuss.elastic.co/u/Vishnu_P_S)\
**Post date:** [July 9, 2018, 9:33am UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109/5 "2018-07-09T09:33:08Z")

</div>

I have corrected the issue. I dont know the exact solution but what I did is uninstalled and installed elasticsearch. I think the cause for the issue is uninstalling some required packages by accident

---

<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:** [August 6, 2018, 9:33am UTC](https://discuss.elastic.co/t/elasticsearch-exceptions-transporterror-unprintable-transporterror-object/139109/6 "2018-08-06T09:33:09Z")

</div>

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