ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.

Home Page:http://www.elastichq.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot connect to Elastic Search cluster hosted in AWS Elasticsearch Service

itsmichaelk opened this issue · comments

General information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS
  • ElasticHQ Version: 3.5.12
  • Elasticsearch Version: 7.9
  • Python version (ignore is using docker image): docker image
  • Browser Vendor and Version (if applicable): Chrome

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 ElasticHQ connector, I get an error stating that the connection was not successfull.

Log:
Message: 'Unable to create connection to: https://vpc-nos-demo-XXXXXXXXXX.eu-central-1.es.amazonaws.com:9200'
Arguments: (ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='vpc-nos-demo-XXXXXXXXXX.eu-central-1.es.amazonaws.com', port=9200): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa56002c940>, 'Connection to vpc-nos-demo-XXXXXXXXXX.eu-central-1.es.amazonaws.com timed out. (connect timeout=30)'))",),),)

How can I get this UI to work with the hosted ES?
Thanks in advance!!

I had to put :443 after the URL, otherwise it tries the port 9200 which isn't working.