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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -