Elasticsearch-py Connection Aborted BadStatusLine

Hi Guys,

I'm using the elasticsearch python module.

I'm using the es.helpers.scan for large amounts of documents to be returned.

When I run my script I seem to be getting this error more often then not.

: ConnectionError(('Connection aborted.', BadStatusLine("''",))) caused by: ProtocolError(('Connection aborted.', BadStatusLine("''",)))

Any idea what this could be caused by?

Please assist :slight_smile:

Thank you,
Rivaan

1 Like