TravisCI checks elasticsearch error with Python 2, ok for Python 3
My tests in travis have recently failed while connecting to elasticsearch. I have an error, for Python 2.x:
ConnectionError: ConnectionError(('Connection aborted.', ResponseNotReady())) caused by: ProtocolError(('Connection aborted.', ResponseNotReady()))
For Python 3.x (same code) it works great.
Any idea on what is going wrong? Everything was fine a while ago.
+3
osallou
source
to share
1 answer
I had the same problem and saw that your post was only published for a few hours. After some digging, I found that urllib3 version 1.11 breaks elasticsearch for some reason. I have attached my version to urllib3 == 1.10.3 and it seems to work.
+6
mikey
source
to share