Uncaught Elastic\Transport\Exception\NoNodeAvailableException: No alive nodes. All the 1 nodes seem to be down.
My php client is hosted at 000webhost and i am creating client with api key and cloud id but it is throwing this error
Uncaught Elastic\Transport\Exception\NoNodeAvailableException: No alive nodes. All the 1 nodes seem to be down.
My php client is hosted at 000webhost and i am creating client with api key and cloud id but it is throwing this error
Hi @Mohd_Ahmad Welcome to the Community and Thanks for Trying Elastic Cloud.
curl -u elastic:password https://mydeployment1235.es.us-west1.gcp.cloud.es.io
First of all thank you for your warm welcome.
And getting this error:
have a look: I had tried to curl using my local machine terminal and it is responding.
I am even able to connect by the php client in my local machine
Apologies I know nothing about your hosting env... Nor the other tool guzzle...
The guzzle does not look like it is executing the curl correctly.
Your cluster appears healthy I think you may need to visit the forums about those tools.
Or you could try PHP on your local machine to test. Then translate up to.your hosting
Actually i had tried in my local to connect my elastic cloud and it is working fine but when i am hosting my php client it is not working and giving the error i have posted earlier
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.