Closed sete391 closed 3 years ago
I try connecting to remote ES instance from Docker with this config:
AWS_ELASTICSEARCH_ENABLED=true ELASTICSEARCH_HOST=XXX.XXX.XXX.XXX ELASTICSEARCH_PORT=9200 ELASTICSEARCH_SCHEME=http ELASTICSEARCH_USER= ELASTICSEARCH_PASS=
I get an error because the request has not "host" key. The host is in the request, I don't need parse the url. With this change, I get a successfull connection.
I try connecting to remote ES instance from Docker with this config:
AWS_ELASTICSEARCH_ENABLED=true ELASTICSEARCH_HOST=XXX.XXX.XXX.XXX ELASTICSEARCH_PORT=9200 ELASTICSEARCH_SCHEME=http ELASTICSEARCH_USER= ELASTICSEARCH_PASS=
I get an error because the request has not "host" key. The host is in the request, I don't need parse the url. With this change, I get a successfull connection.