dejavu
dejavu copied to clipboard
Cannot connect to AWS hosted Elasticsearch cluster
General information
- Elasticsearch Version: 7.9
Issue Description
Cannot connect to Elastic Search cluster hosted in AWS Elasticsearch Service. In AWS in have the VPC https://vpc-nos-demo-XXXXXXXXXX.eu-central-1.es.amazonaws.com
When I open this link in the browser, I get a JSON with all the data about my cluster. But when I insert this link in the dejavu connector, I get an error stating that the connection was not successfull.
Sadly I cannot see anything in the docker container's logs..
How can I get this UI to work with the hosted ES? Thanks in advance!!
When I use the same url with :9200 at the end, it seems like it's loading but it looks like it's in an endless loop since nothing happens.
Edit: after approx. 2-3 minutes it stops loading and I get this (the same message when I don't add 9200 to end of the URL):
This is most certainly a CORS issue, you need to either deploy a simple API Gateway with proxy passthrough to your cluster, or host an nginx proxy or something.