Skip to content
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

Urllib3 1.11 breaks Elasticsearch #1231

Closed
Koed00 opened this issue Jul 22, 2015 · 2 comments
Closed

Urllib3 1.11 breaks Elasticsearch #1231

Koed00 opened this issue Jul 22, 2015 · 2 comments

Comments

@Koed00
Copy link
Contributor

Koed00 commented Jul 22, 2015

This is probably specific to Elasticsearch, but upgrading to Urllib3 1.11 causes the following error:

elasticsearch.exceptions.ConnectionError:
ConnectionError(('Connection aborted.', ResponseNotReady())) caused by:
 ProtocolError(('Connection aborted.', ResponseNotReady()))

and occasionally:

ConnectionError('module' object has no attribute 'HTTPMessage') caused by:
 AttributeError('module' object has no attribute 'HTTPMessage')

raised by

/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 124, in streaming_bulk

Downgrading to urllib3 1.10 solves this.
I will have a look upstream as well.

@acdha
Copy link
Contributor

acdha commented Jul 22, 2015

Looks like this is already being tracked upstream: elastic/elasticsearch-py#253

@Koed00
Copy link
Contributor Author

Koed00 commented Jul 29, 2015

Turns out having either pies or future<=0.14.3 installed will break urllib3==1.11.
Upgrading to the latest future==0.15.0 fixes this and they're working on a fix for pies.

@Koed00 Koed00 closed this as completed Jul 29, 2015
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

2 participants