consul-alerts
consul-alerts copied to clipboard
INFO[0003] Running for leader election... Error querying Consul agent: Unexpected response code: 403 (Permission denied) INFO[0003] Shutting down watcher --> Exit Code: 1
not sure why its getting permission denied. I have the root token with all the privileges. I tried with the given ACL it failed so i tried with the root token still it failed.
INFO[0003] Started Consul-Alerts API
INFO[0003] Running for leader election...
Error querying Consul agent: Unexpected response code: 403 (Permission denied)
INFO[0004] Shutting down watcher --> Exit Code: 1
using consul 1.6.1
This seems to be due to an old version of the Consul API client which doesn't pass auth tokens to the /v1/agent/self request.
The https://hub.docker.com/r/mwillemsma/consul-alerts docker image based on the mawi001/consul-alerts fork appears to have been built using updated deps and works.