03-27-2018 12:45 PM
From what In understand, connecting a Nuxeo server to AWS Elasticsearch should work. I've configured the Nuxeo server to use the AWS service, and it works for the most part. However, I can no longer get the Admin Analytics page to load.
I set two variables in the nuxeo.conf to make it work, which I found those under this bug report: https://jira.nuxeo.com/browse/NXP-23134
This is literally the only documentation I have seen on this, and so have no idea if I have done things properly, or if it's incorrect.
The error I get is repeated stack traces for this:
2018-03-27 16:25:12,898 ERROR [https-jsse-nio-0.0.0.0-8443-exec-1] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.apache.http.conn.HttpHostConnectException: Connect to localhost:9200 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Is there something I'm missing? Has anyone else tried this, or maybe there's a Nuxeo developer that can tell me if I'm on the right track?
Thanks!
02-28-2019 08:59 AM
I had the same error but on docker. I started a Nuxeo Server with following configuration in the docker-compose
02-28-2019 10:25 AM
Hi, The documentation to setup Elasticsearch is here: https://doc.nuxeo.com/nxdoc/elasticsearch-setup/#elasticsearch-supported-versions
You have different ways to connect to Elasticsearch but when you use AWS Elasticsearch only the Rest protocol is available.
The configuration of the 2 options are documented on the same page.
About the Admin Analytic page, it uses the Elasticsearch passthrough feature: https://doc.nuxeo.com/nxdoc/elasticsearch-passthrough/
This requires to configure the elasticsearch.httpReadOnly.baseUrl option to match your elasticsearch endpoint.
Note that you can find any nuxeo.conf option like elasticsearch.adminCenter.displayClusterInfo here:
https://doc.nuxeo.com/nxdoc/configuration-parameters-index-nuxeoconf/
Thanks to Nuxeo doc days, I will try to improve the documentation so the Elasticsearch Setup page also covers the passthrough option.
Regards ben
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.