I am getting the above error intermittently. Below is how I am connecting with Elasticsearch. can anyone help in this
es = Elasticsearch(cloud_id=<ELASTIC_CLOUD_ID>),
api_key=<ELASTIC_API_KEY>)
I am getting the above error intermittently. Below is how I am connecting with Elasticsearch. can anyone help in this
es = Elasticsearch(cloud_id=<ELASTIC_CLOUD_ID>),
api_key=<ELASTIC_API_KEY>)
getaddrinfo failed
implies a DNS problem.
Is the machine you're running this code from connected to the internet with working DNS?
Yes. It is.
So this issue doesn't come always. Many a times, connection is successful.
But this error does come often
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.