Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFO[0003] Running for leader election... Error querying Consul agent: Unexpected response code: 403 (Permission denied) INFO[0003] Shutting down watcher --> Exit Code: 1 #270

Open
AmjadHussainSyed opened this issue Nov 7, 2019 · 1 comment

Comments

@AmjadHussainSyed
Copy link

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

@far-blue
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants