"curl: (52) Empty reply from server" / timeout when querying ElastiscSearch
<p>I've ran into an annoying issue with my ElasticSearch (Version 1.5.2): Queries immediately return timeout (when I used python's Requests) or </p>

<blockquote>
  <p>curl: (52) Empty reply from server</p>
</blockquote>

<p>when I used curl.</p>

<p>This only happened when the expected output was large. When I sent a similar (but smaller) query, it came back just fine.</p>

<p>what's going on here? and how can I overcome this?</p>