Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to AWS hosted Elasticsearch cluster #409

Open
itsmichaelk opened this issue Apr 23, 2021 · 2 comments
Open

Cannot connect to AWS hosted Elasticsearch cluster #409

itsmichaelk opened this issue Apr 23, 2021 · 2 comments

Comments

@itsmichaelk
Copy link

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!!

@itsmichaelk
Copy link
Author

itsmichaelk commented Apr 23, 2021

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.
Bildschirmfoto 2021-04-23 um 10 27 46

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):
Bildschirmfoto 2021-04-23 um 10 32 56

@aaronfay
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants