I tried to elastic cluster through the following code. I am able to open the same through the web but not from my python script. It always states as False
.
from elasticsearch import Elasticsearch
es = Elasticsearch([{'host': '10.10.xx.x', 'port': xxxx}]).ping()
print(es)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…