You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
We were debugging an issue CONSUL_HTTP_TOKEN would cause the application not to start. We found the ping() call was hitting agent/self which requires the agent:readprivilege. Our token does not have that privilege.
Solution
An ACL-less option for ping would be /status/leader or /status/peers which do not require an ACL to contact. I think this would better reflect the desired behavior of ping().
The text was updated successfully, but these errors were encountered:
dekimsey
changed the title
API ping() uses an endpoint that is secured by ACLs n ACL
API ping() uses an endpoint that is secured by ACLs
Jun 30, 2020
Issue
We were debugging an issue
CONSUL_HTTP_TOKEN
would cause the application not to start. We found the ping() call was hittingagent/self
which requires theagent:read
privilege. Our token does not have that privilege.Solution
An ACL-less option for ping would be
/status/leader
or/status/peers
which do not require an ACL to contact. I think this would better reflect the desired behavior of ping().The text was updated successfully, but these errors were encountered: