grpc-consul-resolver
grpc-consul-resolver copied to clipboard
token error
hello, I have a question: Consul starts ACL and passes token.
conn, err = grpc.Dial(
fmt.Sprintf("consul://%s:%d/%s?token=%s&wait=14s&tag=%s", consulHost, consulPort, srvName, token, srvTag),
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy": "round_robin"}`),
)
error message: "error": "rpc error: code = Unavailable desc = last resolver error: produced zero addresses"
Thanks!
Hm. Let me reproduce that locally Could you please provide version for the library and consul ? Thanks