Consul ACL configuration

3 server,1 client, are added to each server acl_config.json:
{
"acl_datacenter": "dc1",
"acl_master_token": "hdsaikfoe56",
"acl_default_policy": "deny"
}

and also restart three server. But the page still shows
clipboard.png

token

clipboard.png

consulserverlog:

clipboard.png

clientlog:

clipboard.png

.

could you tell me what went wrong with my configuration

this is the client startup command in consul. / consul agent-data-dir=/data/consul-node=node3-bind=192.168.0.6-client=192.168.0.6-datacenter=dc1-ui-config-dir=/etc/consul.d
server startup command:. / consul agent-server-bootstrap-expect=3-data-dir=/data/consul-node=node0-bind=192.168.0.3-datacenter=dc1-config-dir=/etc/consul.d

/ etc/consul.d is the directory where acl_config.json is located

according to the method on the Internet, configure consul"s acL, http://www.xiaomastack.com/20.

.

the younger brother has been trying to be like this all afternoon, ask the boss to show me the way

Aug.12,2021

the best way is to read official documents. Those blogs are so unreliable

  • Consul startup error report

    there is nothing to study during the holiday. Consul seems to have only a single software. When I start it, I [root@localhost vagrant_data]-sharp . consul agent -bootstrap-expect 3 -server -data-dir= vagrant_data consul_data -node=cn1 -bind=192.168.10....

    Aug.09,2021
  • A problem with consul using ACL?

    problem description this is my configuration file, acl_master_token has been set up, and I am running in docker . { "datacenter": "dc1", "data_dir": " consul data", "log_level": "INF...

    Feb.23,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44ac1-44adf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44ac1-44adf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?