Hey Team...I am getting `401` Error in `datahub-gm...
# all-things-deployment
n
Hey Team...I am getting
401
Error in
datahub-gms
in trying to connect to
OpenSearch
thru docker Following are the env variables i am using...
Copy code
ELASTICSEARCH_HOST=<http://xxxxxx.es.amazonaws.com|xxxxxx.es.amazonaws.com>
ELASTICSEARCH_PORT=443
ELASTICSEARCH_USERNAME=username
ELASTICSEARCH_PASSWORD=password
USE_AWS_ELASTICSEARCH=true
ELASTICSEARCH_USE_SSL=true
When debugging thru curl the call is successful when
curl -u '<username:password>' '<https://xxxxxx.es.amazonaws.com:443>'
Where as from datahub-gms its trying to call as
'<https://username:password@xxxxxx.es.amazonaws.com:443>'
Have anyone faced this before?
This is by directly calling the docker run
Copy code
sudo docker run -d \
    --name=datahub-gms \
    --env-file docker/datahub-gms/env/docker.sandbox.env \
    -p 8080:8080 \
    linkedin/datahub-gms:head
h
Hello Arun, how did you solve this? I face the same problem in
elasticsearchSetupJob