TravisCI test elasticsearch error with Python 2, ok for Python 3 -
my tests in travis failed when connecting elasticsearch. have error, python 2.x :
connectionerror: connectionerror(('connection aborted.', responsenotready())) caused by: protocolerror(('connection aborted.', responsenotready()))
for python 3.x (same code), works fine.
any idea of going wrong ? fine time ago.
i had exact same problem , saw post posted few hours. after digging, found urllib3 version 1.11 breaks elasticsearch reason. pinned version urllib3==1.10.3 , seems working.
Comments
Post a Comment