ptarmiganlabs/butler-cw

Heartbeats sent to https endpoints fail

mountaindude opened this issue · 1 comments

Describe the bug
If heartbeats are enabled and sent to a https endpoint, the heartbeat call will fail with a "...unable to verify the first certificate" error.

Expected behavior
It should be possible to send heartbeats to either http or https endpoints.

Describe environment:
Bug verified in Node.js 14.5 on mac OS Big Sur, Docker and in Kubernetes.

Not a bug. Issue was caused by not having a full CA path in the TLS certificate used to secure the heartbeat monitoring tool (healthchecks.io running behind Traefik).
Traefik handled the TLS termination, and when traefik got new certs with complete CA path the error was gone.