# No alive nodes found in your cluster

**URL:** https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805
**Category:** Elasticsearch
**Created:** [March 8, 2017, 11:36am UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805 "2017-03-08T11:36:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![warrio4](https://avatars.discourse-cdn.com/v4/letter/w/a88e57/32.png) [@warrio4](https://discuss.elastic.co/u/warrio4)
#### Post date: [March 8, 2017, 11:36am UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805/1 "2017-03-08T11:36:55Z")

</div>

Hi,

I'm using **elasticsearch 5.2.2** with **Laravel 5.4** and **homestead** and I get the following error when I browse [http://pr3.app:8000](http://pr3.app:8000)

> NoNodesAvailableException in StaticNoPingConnectionPool.php line 51:  
> No alive nodes found in your cluster

All reaserch on this error led me to this [advice from Zachary Tong](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster-message-when-using-https-endpoint-in-php-api/33330/3).

It is advised to correct the certificate. But why do I need it if I'm accessing ES using http only?  
Plus it is really not clear how I can set a different self-signed certificate from than the one that came with curl.

**Configuration**

- platform : win10.

- curl version 7.53.1

- In composer.json, I've added to the require list `"elasticsearch/elasticsearch": "~5.0"`.

- Then I run the command `composer update`.

- To test Elasticsearch, I've written the following in `routes/web.php`

- using a browser, curl or postman, [http://pr3.app:9200](http://pr3.app:9200) always return:  
{  
"name": "FAkNvtq",  
"cluster\_name": "elasticsearch",  
"cluster\_uuid": "M5pNi9p0TF2udk7DNwcFZQ",  
"version": {  
"number": "5.2.2",  
"build\_hash": "f9d9b74",  
"build\_date": "2017-02-24T17:26:45.835Z",  
"build\_snapshot": false,  
"lucene\_version": "6.4.1"  
},  
"tagline": "You Know, for Search"  
}

- I am able to index/search documents using postman, but not with php so far.

- when I try `curl https://pr3.app:9200`  
`curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number`

What am I missing in my config?

---

<div class="post-metadata">

### Author: ![warrio4](https://avatars.discourse-cdn.com/v4/letter/w/a88e57/32.png) [@warrio4](https://discuss.elastic.co/u/warrio4)
#### Post date: [March 10, 2017, 11:34pm UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805/2 "2017-03-10T23:34:20Z")

</div>

I've used laragon instead of homestead and wamp.

---

<div class="post-metadata">

### Author: ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)
#### Post date: [March 12, 2017, 6:02pm UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805/3 "2017-03-12T18:02:22Z")

</div>

Sorry for not getting to your question earlier, this last week has been the Elasticon conference and so essentially all of Elasticsearch engineering has been relatively unavailable.

For the record and future readers, the "No Nodes Available" exception simply means that it cannot find your cluster. Sometimes it's related to certificates (as in your case), but often it is just a connectivity issue: wrong port, cluster isn't online, SELinux is firewalling, etc.

---

<div class="post-metadata">

### Author: ![warrio4](https://avatars.discourse-cdn.com/v4/letter/w/a88e57/32.png) [@warrio4](https://discuss.elastic.co/u/warrio4)
#### Post date: [March 13, 2017, 3:50pm UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805/4 "2017-03-13T15:50:48Z")

</div>

Hi Zachary,

Thank you for your response.

All the best 😃

---

<div class="post-metadata">

### Author: ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)
#### Post date: [March 17, 2017, 2:11pm UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805/5 "2017-03-17T14:11:29Z")

</div>

Np! Fwiw, if you have future problems feel free to open an issue at the ES-PHP github repo, I tend to see those faster than on the forums 🙂

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 14, 2017, 2:11pm UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/77805/6 "2017-04-14T14:11:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
