I am not able to get the full text search working when user authentication for ElasticSearch server is on.
- Open Distro for Elasticsearch (by Amazon) up and running in docker container on Arch Linux server, listening at port 9201.
- iptables on server have the port 9201 accessible for any docker container.
- Nextcloud 19 is also running in a docker container.
I can check that search works:
docker exec -ti nextcloud /bin/sh -c 'curl -X GET "https://elastic.server.com:9201/nextcloud/_search?q="lookingforsomething"&pretty" -k -u nextcloud:blablabla' --cacert /etc/letsencrypt/letsencrypt_root_ca.pem
This returns the expected result.
However, when I include the user authentication to Nextcloud Admin GUI for full text search as
https://nextcloud:firstname.lastname@example.org:9201 and with index
nextcloud, I can see in
No alive nodes found in your cluster…
Any idea what could be wrong?