You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Risto (Jira)" <ji...@apache.org> on 2021/05/04 10:22:00 UTC
[jira] [Created] (UNOMI-478) Docker image could not be configured
to connect to Elastic Search when authorization is neede
Risto created UNOMI-478:
---------------------------
Summary: Docker image could not be configured to connect to Elastic Search when authorization is neede
Key: UNOMI-478
URL: https://issues.apache.org/jira/browse/UNOMI-478
Project: Apache Unomi
Issue Type: Bug
Components: core
Affects Versions: 1.5.5, 2.0.0
Reporter: Risto
I found that using the delivered container it is impossible to connect to elastic that needs authentication. Documentation says:
3.14.1. User authentication !
If your ElasticSearch have been configured to be only accessible by authenticated users. Just edit etc/org.apache.unomi.persistence.elasticsearch.cfg to add the following settings:
username=USER
password=PASSWORD
But this can not be done by setting environment variables. New environment variables like ELASTIC_USERNAME, ELASTIC_PASSWORD are needed. It should default to no password and no username as it does now.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)