# Elasticsearch Python client - IncompleteRead error

**URL:** <https://discuss.elastic.co/t/elasticsearch-python-client-incompleteread-error/153745>\
**Category:** Elasticsearch\
**Created:** [October 24, 2018, 7:52am UTC](https://discuss.elastic.co/t/elasticsearch-python-client-incompleteread-error/153745 "2018-10-24T07:52:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SnirX](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@SnirX](https://discuss.elastic.co/u/SnirX)\
**Post date:** [October 24, 2018, 7:52am UTC](https://discuss.elastic.co/t/elasticsearch-python-client-incompleteread-error/153745/1 "2018-10-24T07:52:53Z")

</div>

Hi,  
I'm running an Elasticsearch cluster version 6.3.2.  
I'm using Python client to query the Elasticsearch.  
Python version - 2.7.5  
Python Elasticsearch client version - 6.3.0

Suddenly I started to get this kind of error (not for a specific query):  
caused by: ProtocolError(('Connection broken: IncompleteRead(4178374 bytes read, 1111117 more expected)'

I'm using Apache as a reverse proxy to Elasticsearch API.  
No errors in Elasticsearch logs or Apache.

Can you please assist?  
Thank you.

---

<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:** [October 24, 2018, 7:54am UTC](https://discuss.elastic.co/t/elasticsearch-python-client-incompleteread-error/153745/2 "2018-10-24T07:54:34Z")

</div>

Do you see the same problem if you connect directly to Elasticsearch? If that is not the case, it is likely a problem with your proxy configuration.

---

<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:** [November 21, 2018, 7:54am UTC](https://discuss.elastic.co/t/elasticsearch-python-client-incompleteread-error/153745/3 "2018-11-21T07:54:34Z")

</div>

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