NoNodeAvailableException[None of the configured nodes are available} in Liferay 7 (Local server setup)



NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{127.0.0.1:9300}]]



just to breif you about NoNodeAvailableException that to when you are using elastic serach in your local.



on your server console screen you can see the below exception.


NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{127.0.0.1}{127.0.0.1:9300}]]
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:290)
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:207)
at org.elasticsearch.client.transport.support.TransportProxyClient.execute(TransportProxyClient.java:55) at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:288)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)
at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:64)




In such a case,


just go to your local DB entries in configuration_ table,

DELETE  the elastic search record from the column & restart the tomcat server.







Note: Many of the times, if you are getting this kind of error in your local, server says server instance start up in some ms.

But it will not start. until yoou the above procedure.




THIS BLOG PRODCEDURE IS APPLICABLE TO YOUR LOCAL SERVERS & LOCAL CONFIGURATION LEVEL (not to try in PREPROD, PROD)











Comments

Popular posts from this blog

AUI Form In LifeRay

LifeRay 7 with Single Page Application (SPA) features & SennaJs !!! How It works? In LR7 & LR6.2..

Hide Default Liferay Error Message in login.jsp (HOOK)