I am running heartbeat in a container. The version of the heartbeat is heartbeat:8.1.0. My heartbeat is running behind the proxy and output to the elastic cloud.
In the docker-compose.yml
environment:
HTTP_PROXY: "http://xxxxx:port"
http_proxy: "http://xxxxxxx:port"
HTTPS_PROXY: "https://xxxxx:port"
https_proxy: "https://xxxxx:port"
In the heartbeat.yml
cloud.id: "xxxxxxxxxxxxx"
cloud_auth: xxxxxxxxxxxxxxxxxxx
Once I bring up the beat, I get error:
Error dialing EOF
I would like to ask what is the correct way to set up the proxy for heartbeat ?
Also, what is the possible issue that cause this error?
Thanks