I am using elasticsearch 2.3.1 and python 2.7. I am trying to create a simple instance and testing as
esInstance = Elasticsearch(['https://'+shield_uname+":"+shield_pass+"@"+server+":"+port])
print esInstance.info()
but i get
elasticsearch.exceptions.SSLError: ConnectionError(EOF occurred in violation of protocol (_ssl.c:590)) caused by: SSLError(EOF occurred in violation of protocol (_ssl.c:590))
what am i doing wrong ? I get the same error when i try
requests.get("https://"+shield_uname+":"+shield_pass+"@"+server+":"+port, verify=False)
how can i fix this?