我正在使用弹性搜索 2.3.1 和 python 2.7。我正在尝试创建一个简单的实例并测试为
esInstance = Elasticsearch(['https://'+shield_uname+":"+shield_pass+"@"+server+":"+port])
print esInstance.info()
但我明白了
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))
我究竟做错了什么 ?我尝试时遇到同样的错误
requests.get("https://"+shield_uname+":"+shield_pass+"@"+server+":"+port, verify=False)
我怎样才能解决这个问题?