rapid-house-76230
08/02/2022, 1:38 AM2022/08/02 01:34:44 Received 400 from <http://search-datahub-elasticsearch-foobar.us-west-2.es.amazonaws.com:443>. Sleeping 1s
I used ELASTICSEARCH_HOST
and ELASTICSEARCH_PORT
env variables in the GMS deployment (I used Kustomize). Any idea?bumpy-needle-3184
08/02/2022, 6:34 AMbumpy-needle-3184
08/02/2022, 6:35 AMelasticsearch:
host: <<elasticsearch-endpoint>>
port: "443"
useSSL: "true"
bumpy-needle-3184
08/02/2022, 6:36 AMelasticsearch:
host: <<elasticsearch-endpoint>>
port: "80"
bumpy-needle-3184
08/02/2022, 6:36 AMrapid-house-76230
08/02/2022, 4:26 PMReceived 403 from <http://search-datahub-elasticsearch-i2zymt4u4yi7jgag7gtpkizkpa.us-west-2.es.amazonaws.com:80>. Sleeping 1s
average-vr-23088
08/02/2022, 4:50 PMrapid-house-76230
08/02/2022, 5:31 PMELASTICSEARCH_USERNAME
ELASTICSEARCH_PASSWORD
to the env still didn’t help, I’m still getting 403 like the above 😭average-vr-23088
08/02/2022, 5:45 PMrapid-house-76230
08/02/2022, 5:46 PMrapid-house-76230
08/02/2022, 5:46 PMaverage-vr-23088
08/02/2022, 5:46 PMrapid-house-76230
08/02/2022, 5:49 PMaverage-vr-23088
08/02/2022, 5:50 PMTheMasterUser
to an IAM role, typically used with Cognito. Another is if you enable the internal user database with fine-grained access control. In that scenario, if OpenSearch is public and you set up the right resource policy, it can support HTTP basic auth. The first setup doesn’t support HTTP basic auth, it forces you to do signed requests to the ElasticSearch API — something datahub doesn’t supportaverage-vr-23088
08/02/2022, 5:51 PMrapid-house-76230
08/02/2022, 5:54 PMTheMasterUser
, but without Cognito right?average-vr-23088
08/02/2022, 5:55 PMaverage-vr-23088
08/02/2022, 5:56 PMrapid-house-76230
08/02/2022, 6:35 PM2. Navigate to OpenSearch Dashboards.
3. Sign in using TheMasterUser.
rapid-house-76230
08/02/2022, 7:11 PM2022/08/02 19:10:16 Problem with request: Get "<http://search-datahub-elasticsearch-foobar.us-west-2.es.amazonaws.com:80>": dial tcp 54.70.124.114:80: connect: connection refused. Sleeping 1s