ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 532 forks source link

Cannot connect to Elastic Search cluster hosted in AWS Elasticsearch Service #537

Closed itsmichaelk closed 3 years ago

itsmichaelk commented 3 years ago

General information

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

itsmichaelk commented 3 years ago

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