Closed jvence closed 3 years ago
Latest implementation of elasticsearch authentication does not work. Using
self.es = Elasticsearch(hosts="http://username:password@hostname:9200/")
seems to solve the problem.
Actually after further reviews, I had a type in the password. This is working fine.
I specified an elasticsearch retrieval that requires authentication. I specified the username and password in the options section of the retrieval. When I try to run a query, the app fails with:
Looking at the code seems to indicate that the username and password are not used anywhere in the code.
http_auth=('user', 'secret') required in ElasticSearchRetriever - will submit a pull request.