<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to connect Elasticsearch node setup on same or localhost in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/unable-to-connect-elasticsearch-node-setup-on-same-or-localhost/m-p/322263#M9264</link>
    <description>&lt;P&gt;Failed to connect to elasticsearch, check addressList and clusterName: None of the configured nodes are available: [{#transport#-1}{10.240.206.26}{10.240.206.26:9200}]
java.lang.RuntimeException: Failed to connect to elasticsearch, check addressList and clusterName: None of the configured nodes are available: [{#transport#-1}{10.240.206.26}{10.240.206.26:9200}]
at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.checkClusterHealth(ElasticSearchAdminImpl.java:254)
at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.connect(ElasticSearchAdminImpl.java:137)
at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.&lt;INIT&gt;(ElasticSearchAdminImpl.java:121)
at org.nuxeo.elasticsearch.ElasticSearchComponent.start(ElasticSearchComponent.java:197)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.start(RegistrationInfoImpl.java:341)
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponents(ComponentManagerImpl.java:571)
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:629)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:460)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:475)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:232)
at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:226)
at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:125)
at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:120)
at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2017-09-25 18:51:07,417 INFO  [localhost-startStop-1] [org.nuxeo.elasticsearch.audit.ESAuditBackend] Activate Elasticsearch backend for Audit
2017-09-25 18:51:07,417 ERROR [localhost-startStop-1] [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Component service:org.nuxeo.ecm.platform.audit.service.NXAuditEventsService notification of application started failed: null
java.lang.NullPointerException
at org.nuxeo.elasticsearch.ElasticSearchComponent.getClient(ElasticSearchComponent.java:265)&lt;/INIT&gt;&lt;/P&gt;
&lt;P&gt;All required configuration are done in nuxeo.conf and Elasticsearch.yml&lt;/P&gt;
&lt;P&gt;##-----------------------------------------------------------------------------&lt;/P&gt;
&lt;H2&gt;Elasticsearch configuration&lt;/H2&gt;
&lt;P&gt;##-----------------------------------------------------------------------------&lt;/P&gt;
&lt;H2&gt;Enable or disable Elasticsearch integration, default is true.&lt;/H2&gt;
&lt;P&gt;elasticsearch.enabled=true&lt;/P&gt;
&lt;H2&gt;Remote elasticsearch cluster to join, comma separated list of nodes,&lt;/H2&gt;
&lt;H2&gt;if empty use an embedded server, not for production !&lt;/H2&gt;
&lt;P&gt;elasticsearch.addressList=localhost:9200&lt;/P&gt;
&lt;H2&gt;Remote elasticsearch cluster name to join.&lt;/H2&gt;
&lt;P&gt;elasticsearch.clusterName=nuxeoCluster1&lt;/P&gt;
&lt;H2&gt;Name of the Elasticsearch index for the default document repository&lt;/H2&gt;
&lt;P&gt;elasticsearch.indexName=nuxeo&lt;/P&gt;
&lt;H2&gt;Number of replicas (not for embedded mode)&lt;/H2&gt;
&lt;P&gt;elasticsearch.indexNumberOfReplicas=0&lt;/P&gt;
&lt;H2&gt;Display Elasticsearch cluster and nodes information in admin center&lt;/H2&gt;
&lt;H2&gt;default is false (always true for embedded mode)&lt;/H2&gt;
&lt;P&gt;elasticsearch.adminCenter.displayClusterInfo=true&lt;/P&gt;
&lt;H2&gt;Embedded elasticsearch server accept HTTP request on port 9200.&lt;/H2&gt;
&lt;H2&gt;Only requests from local machine are accepted.&lt;/H2&gt;
&lt;P&gt;elasticsearch.httpEnabled=true&lt;/P&gt;
&lt;H2&gt;Comma separated list of CorePageProvider to supersede by Elasticsearch.&lt;/H2&gt;
&lt;H2&gt;default is default_search,DEFAULT_DOCUMENT_SUGGESTION.&lt;/H2&gt;
&lt;P&gt;#elasticsearch.override.pageproviders=default_search,document_content,section_content,document_content,tree_children,default_document_suggestion,simple_search,advanced_search,nxql_search,DEFAULT_DOCUMENT_SUGGESTION&lt;/P&gt;
&lt;H2&gt;Enable or disable Elasticsearch as a backend for audit logs.&lt;/H2&gt;
&lt;H2&gt;Default is false in common-base template for upgrade purposes, to not break an existing instance.&lt;/H2&gt;
&lt;H2&gt;Set to true for activation on a new instance.&lt;/H2&gt;
&lt;P&gt;audit.elasticsearch.enabled=true&lt;/P&gt;
&lt;H2&gt;Name of the Elasticsearch index for audit logs&lt;/H2&gt;
&lt;P&gt;audit.elasticsearch.indexName=${elasticsearch.indexName}-audit&lt;/P&gt;
&lt;H2&gt;Name of the Elasticsearch index for the uid sequencer&lt;/H2&gt;
&lt;P&gt;seqgen.elasticsearch.indexName=${elasticsearch.indexName}-uidgen&lt;/P&gt;
&lt;P&gt;Elasticsearch.yml as follows&lt;/P&gt;
&lt;P&gt;cluster.name: nuxeoCluster1
node.name: nuxeo
transport.host: 10.240.206.26
transport.tcp.port: 9300
http.port: 9200
network.host: 0.0.0.0&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2017 13:46:50 GMT</pubDate>
    <dc:creator>Mitesh_Kothari</dc:creator>
    <dc:date>2017-09-25T13:46:50Z</dc:date>
    <item>
      <title>Unable to connect Elasticsearch node setup on same or localhost</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/unable-to-connect-elasticsearch-node-setup-on-same-or-localhost/m-p/322263#M9264</link>
      <description>&lt;P&gt;Failed to connect to elasticsearch, check addressList and clusterName: None of the configured nodes are available: [{#transport#-1}{10.240.206.26}{10.240.206.26:9200}]
java.lang.RuntimeException: Failed to connect to elasticsearch, check addressList and clusterName: None of the configured nodes are available: [{#transport#-1}{10.240.206.26}{10.240.206.26:9200}]
at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.checkClusterHealth(ElasticSearchAdminImpl.java:254)
at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.connect(ElasticSearchAdminImpl.java:137)
at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.&lt;INIT&gt;(ElasticSearchAdminImpl.java:121)
at org.nuxeo.elasticsearch.ElasticSearchComponent.start(ElasticSearchComponent.java:197)
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.start(RegistrationInfoImpl.java:341)
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponents(ComponentManagerImpl.java:571)
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:629)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:460)
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:475)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:232)
at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:226)
at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:125)
at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:120)
at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2017-09-25 18:51:07,417 INFO  [localhost-startStop-1] [org.nuxeo.elasticsearch.audit.ESAuditBackend] Activate Elasticsearch backend for Audit
2017-09-25 18:51:07,417 ERROR [localhost-startStop-1] [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Component service:org.nuxeo.ecm.platform.audit.service.NXAuditEventsService notification of application started failed: null
java.lang.NullPointerException
at org.nuxeo.elasticsearch.ElasticSearchComponent.getClient(ElasticSearchComponent.java:265)&lt;/INIT&gt;&lt;/P&gt;
&lt;P&gt;All required configuration are done in nuxeo.conf and Elasticsearch.yml&lt;/P&gt;
&lt;P&gt;##-----------------------------------------------------------------------------&lt;/P&gt;
&lt;H2&gt;Elasticsearch configuration&lt;/H2&gt;
&lt;P&gt;##-----------------------------------------------------------------------------&lt;/P&gt;
&lt;H2&gt;Enable or disable Elasticsearch integration, default is true.&lt;/H2&gt;
&lt;P&gt;elasticsearch.enabled=true&lt;/P&gt;
&lt;H2&gt;Remote elasticsearch cluster to join, comma separated list of nodes,&lt;/H2&gt;
&lt;H2&gt;if empty use an embedded server, not for production !&lt;/H2&gt;
&lt;P&gt;elasticsearch.addressList=localhost:9200&lt;/P&gt;
&lt;H2&gt;Remote elasticsearch cluster name to join.&lt;/H2&gt;
&lt;P&gt;elasticsearch.clusterName=nuxeoCluster1&lt;/P&gt;
&lt;H2&gt;Name of the Elasticsearch index for the default document repository&lt;/H2&gt;
&lt;P&gt;elasticsearch.indexName=nuxeo&lt;/P&gt;
&lt;H2&gt;Number of replicas (not for embedded mode)&lt;/H2&gt;
&lt;P&gt;elasticsearch.indexNumberOfReplicas=0&lt;/P&gt;
&lt;H2&gt;Display Elasticsearch cluster and nodes information in admin center&lt;/H2&gt;
&lt;H2&gt;default is false (always true for embedded mode)&lt;/H2&gt;
&lt;P&gt;elasticsearch.adminCenter.displayClusterInfo=true&lt;/P&gt;
&lt;H2&gt;Embedded elasticsearch server accept HTTP request on port 9200.&lt;/H2&gt;
&lt;H2&gt;Only requests from local machine are accepted.&lt;/H2&gt;
&lt;P&gt;elasticsearch.httpEnabled=true&lt;/P&gt;
&lt;H2&gt;Comma separated list of CorePageProvider to supersede by Elasticsearch.&lt;/H2&gt;
&lt;H2&gt;default is default_search,DEFAULT_DOCUMENT_SUGGESTION.&lt;/H2&gt;
&lt;P&gt;#elasticsearch.override.pageproviders=default_search,document_content,section_content,document_content,tree_children,default_document_suggestion,simple_search,advanced_search,nxql_search,DEFAULT_DOCUMENT_SUGGESTION&lt;/P&gt;
&lt;H2&gt;Enable or disable Elasticsearch as a backend for audit logs.&lt;/H2&gt;
&lt;H2&gt;Default is false in common-base template for upgrade purposes, to not break an existing instance.&lt;/H2&gt;
&lt;H2&gt;Set to true for activation on a new instance.&lt;/H2&gt;
&lt;P&gt;audit.elasticsearch.enabled=true&lt;/P&gt;
&lt;H2&gt;Name of the Elasticsearch index for audit logs&lt;/H2&gt;
&lt;P&gt;audit.elasticsearch.indexName=${elasticsearch.indexName}-audit&lt;/P&gt;
&lt;H2&gt;Name of the Elasticsearch index for the uid sequencer&lt;/H2&gt;
&lt;P&gt;seqgen.elasticsearch.indexName=${elasticsearch.indexName}-uidgen&lt;/P&gt;
&lt;P&gt;Elasticsearch.yml as follows&lt;/P&gt;
&lt;P&gt;cluster.name: nuxeoCluster1
node.name: nuxeo
transport.host: 10.240.206.26
transport.tcp.port: 9300
http.port: 9200
network.host: 0.0.0.0&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 13:46:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/unable-to-connect-elasticsearch-node-setup-on-same-or-localhost/m-p/322263#M9264</guid>
      <dc:creator>Mitesh_Kothari</dc:creator>
      <dc:date>2017-09-25T13:46:50Z</dc:date>
    </item>
  </channel>
</rss>

