Skip to content

Error while pushing data in a bulk. #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
varunkumar-dev opened this issue Aug 26, 2015 · 2 comments
Closed

Error while pushing data in a bulk. #263

varunkumar-dev opened this issue Aug 26, 2015 · 2 comments

Comments

@varunkumar-dev
Copy link

When I was trying to index text files in chunks (2000 files in a chunk), I got this error message
"ConnectionError(('Connection aborted.', error(104, 'Connection reset by peer'))) caused by: ProtocolError(('Connection aborted.', error(104, 'Connection reset by peer')))"

When I reduced the chunk size to 1500 , it worked . The exception message was not very clear about the limit of the data that can be pushed to elasticsearch server .

@honzakral
Copy link
Contributor

This is a message saying that elasticsearch closed the connection, which it would do if the request is above it's maximum size.

Unfortunately there is no easy way for us to know that that is what happened (as opposed to a regular network failure). There is nothing we can do I am afraid.

This would be solved by #199

@bipul-inno
Copy link

I encountered this same problem and decreasing bulk size as above fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants