-
Notifications
You must be signed in to change notification settings - Fork 983
No alive nodes found in your cluster #805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Im still troubleshooting this and have figured that if this error can come up if some sort of port is blocking the connection? Although this is a long-shot, I cant figure out why Im having this problem on the "3. The-trouble-host". |
Did you try the curl command on the faulty host ? |
Did you set proxy environment (http_proxy, https_proxy) ? |
I came across a similar issue regarding the hostname, please see #509 (comment) |
In my case it was a problem with SSL certificates (on windows). This SO response describes the solution:
|
@FredrikLodon I'm closing this issue, I'll reopen if still relevant. |
Summary of problem or feature request
I have a strange scenario. I have two test environments which my configuration works flawless. But in my live environment I get the "No alive nodes found in your cluster" message.
So this is my two test environments which Elastic Cloud works great.
Note: Above works flawless - return desired result - both from the code itself and by "curl https://username:pass@myadress" from terminal.
Note: Above works flawless - return desired result - both from the code itself and by "curl https://username:pass@myadress" from terminal.
This is the live-host, which the problem occurs
3. The-trouble-host
20181001133629.6+jessie1.gbp113f3bNote: This is my prod-server. Which returns the error below, Im using row breaks to get it a little bit more clear to look at:
[Fri Oct 05 16:39:28.787535 2018]
[proxy_fcgi:error]
[pid 17303:tid 139723339167488]
[client 85.225.129.215:50158]
AH01071:
Got error 'PHP message: PHP Fatal error:
Uncaught Elasticsearch\Common\Exceptions\NoNodesAvailableException:
No alive nodes found in your cluster in /srv/www.xxxx.xxxx/htdocs/wp-content/plugins/xxxxxxxx/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/StaticNoPingConnectionPool.php:51
\nStack trace:\n#0 /srv/www.xxxxx.xxx/htdocs/wp-content/plugins/xxxxx/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(76):
Elasticsearch\ConnectionPool\StaticNoPingConnectionPool->nextConnection()\n#1 /srv/www.xxxx.xxx/htdocs/wp-content/plugins/xxxxx/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(94):
Elasticsearch\Transport->getConnection()\n#2 /srv/www.xxxxx.xxxx/htdocs/wp-content/plugins/xxxxx/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(246):
Elasticsearch\Transport->performRequest('GET', '/elasticxxxs...', Array, '{"query":{"matc...', Array)\n#3 /srv...\n', referer: https://www.xxxx.xxxx/search/?find=razor
How come I get this problem on this setup?
The text was updated successfully, but these errors were encountered: