ConnectionError(HTTPConnectionPool(host='vpc-*************', port=80) #44
-
To whom this concerns, I am encountering issues when trying to deploy this as a helm chart to my cluster. The logs on the elastalert pod are:
When deploying I am setting the elastalert host and port, otherwise all values are default. Any help and guidance on this issue would be much appreciated please 😄 ! Many thanks, Ben |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
There's not much to go on from the log, other than obviously it can't connect to ES. I am curious though why you chose port 80. Typically ES is deployed with its REST API available on port 9200, and since port 80 is normally used for user-facing web pages that was a surprise to see. Certainly it will work if your ES cluster is really listening on port 80, so I'm not suggesting it's wrong, but rather atypical. Also, if your ES cluster is running in the same Kubernetes cluster I would normally have the ES hostname set to something like elasticsearch.svc.cluster.local, assuming the ES chart was setup to use elasticsearch as the service name. If you are running Elasticsearch outside of the K8S cluster then ignore this comment. |
Beta Was this translation helpful? Give feedback.
There's not much to go on from the log, other than obviously it can't connect to ES. I am curious though why you chose port 80. Typically ES is deployed with its REST API available on port 9200, and since port 80 is normally used for user-facing web pages that was a surprise to see. Certainly it will work if your ES cluster is really listening on port 80, so I'm not suggesting it's wrong, but rather atypical.
Also, if your ES cluster is running in the same Kubernetes cluster I would normally have the ES hostname set to something like elasticsearch.svc.cluster.local, assuming the ES chart was setup to use elasticsearch as the service name. If you are running Elasticsearch outside of the K8…