Hi When I am trying to take backup or run any command with etcdctl I an getting . . .

Sourabh Sihare:
Hi When I am trying to take backup or run any command with etcdctl I an getting below error
controlplane $ ETCDCTL_API=3 etcdctl member list --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key --endpoints=https:127.0.0.1:2379
{“level”:“warn”,“ts”:“2021-01-14T06:51:20.726Z”,“caller”:“clientv3/retry_interceptor.go:62”,“msg”:“retrying of unary invoker failed”,“target”:“endpoint://client-be27b3f4-3bc1-44ad-9365-06ea2b194903/https:127.0.0.1:2379”,“attempt”:0,“error”:“rpc error: code = DeadlineExceeded desc = latest balancer error: all SubConns are in TransientFailure, latest connection error: connection error: desc = “transport: Error while dialing dial tcp: address https:127.0.0.1:2379: too many colons in address””}
Error: context deadline exceeded

Tej_Singh_Rana:
Hello, @Sourabh Sihare
It should be http://127.0.0.1:2379 instead of https:127.0.0.1:2379
You’re listing a member within a cluster so not required to use https.