wireapp / wire-server-deploy

Code to install/deploy wire-server (on kubernetes)
https://docs.wire.com
GNU Affero General Public License v3.0
94 stars 45 forks source link

Question: Elasticsearch Missing authentication token for REST request #714

Closed na3na3na closed 1 month ago

na3na3na commented 2 months ago

Basic information

How did you install Wire?

Using docker containers/images tagged with commit id: f04b6eb33c4109a11f6d8b45418ea4ba4b201221

Question

I couldn't find an answer in the installation guide (https://docs.wire.com/how-to/install/index.html) nor somewhere else in the documentation (https://docs.wire.com/how-to/index.html)

helm upgrade --install wire-server wire/wire-server -f values.yaml -f secrets.yaml --wait times out. Checking the logs using k8 shows that init container for elasticsearch-index-create pod fails

kubectl logs elasticsearch-index-create-cqdlt --all-containers outputs I, logger=index.brig, Create index I, logger=index.brig, 401 - {"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication token for REST request [/directory]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"missing authentication token for REST request [/directory]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401} brig-index: IndexError "Index creation failed." Error from server (BadRequest): container "brig-index-update-mapping" in pod "elasticsearch-index-create-cqdlt" is waiting to start: PodInitializing