You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Describe the bug
According to the documentatie you can configure the username and password for the elasticsearch configuration. You can do this by setting conductor.elasticsearch.username and conductor.elasticsearch.password. This works if you're using the elasticsearch 7 configuration, but not when using the elasticsearch 6 configuration
Details
Conductor version: 3.6.1 (build from the main branch)
When conductor.indexing.enabled is enabled and the username and password are set the application crashes with an unauthorized exception when starting.
Configure conductor to user elasticsearch with a username and password
Start conductor-server
Watch the logs for Unauthorized error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
conductor-server | Caused by: org.elasticsearch.client.ResponseException: method [GET], host [http://es:9200], URI [/_cluster/health?timeout=30s&wait_for_status=yellow], status line [HTTP/1.1 401 Unauthorized]
conductor-server | Unauthorized
conductor-server | at org.elasticsearch.client.RestClient$1.completed(RestClient.java:552) ~[elasticsearch-rest-client-6.8.12.jar!/:6.8.12]
conductor-server | at org.elasticsearch.client.RestClient$1.completed(RestClient.java:537) ~[elasticsearch-rest-client-6.8.12.jar!/:6.8.12]
conductor-server | at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122) ~[httpcore-4.4.14.jar!/:4.4.14]
Additional context
I fixed it by copying the configuration from com.netflix.conductor.es7.config.ElasticSearchV7Configuration to com.netflix.conductor.es6.config.ElasticSearchV6Configuration concerning username and password. That fixed the problem 0001-Fix-credentials-for-es6.patch.txt
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the documentatie you can configure the username and password for the elasticsearch configuration. You can do this by setting conductor.elasticsearch.username and conductor.elasticsearch.password. This works if you're using the elasticsearch 7 configuration, but not when using the elasticsearch 6 configuration
Details
Conductor version: 3.6.1 (build from the main branch)
When conductor.indexing.enabled is enabled and the username and password are set the application crashes with an unauthorized exception when starting.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
I fixed it by copying the configuration from com.netflix.conductor.es7.config.ElasticSearchV7Configuration to com.netflix.conductor.es6.config.ElasticSearchV6Configuration concerning username and password. That fixed the problem
0001-Fix-credentials-for-es6.patch.txt
The text was updated successfully, but these errors were encountered: