During Nomad deployment of a job that uses consul connect; connect-proxy side-car fails with consul_si_token: Unexpected response code: 500 (Local tokens are disabled)
although the token replication has been enabled and is working OK. Primary DC is set ACLs enabled with (both on client and servers for that DC:
datacenter = "sdc"
primary_datacenter = "pdc"
...
acl {
enabled = true
enable_token_persistence = true
enable_token_replication = true
down_policy = "extend-cache"
tokens {
agent="....."
}
}
connect {
enabled=true
}