{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/9908","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/9908/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/9908/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/9908/events","html_url":"https://github.com/coreos/etcd/issues/9908","id":338871469,"node_id":"MDU6SXNzdWUzMzg4NzE0Njk=","number":9908,"title":"can etcdctl support https when connecting gRPC proxy?","user":{"login":"sirchen","id":22660757,"node_id":"MDQ6VXNlcjIyNjYwNzU3","avatar_url":"https://avatars2.githubusercontent.com/u/22660757?v=4","gravatar_id":"","url":"https://api.github.com/users/sirchen","html_url":"https://github.com/sirchen","followers_url":"https://api.github.com/users/sirchen/followers","following_url":"https://api.github.com/users/sirchen/following{/other_user}","gists_url":"https://api.github.com/users/sirchen/gists{/gist_id}","starred_url":"https://api.github.com/users/sirchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirchen/subscriptions","organizations_url":"https://api.github.com/users/sirchen/orgs","repos_url":"https://api.github.com/users/sirchen/repos","events_url":"https://api.github.com/users/sirchen/events{/privacy}","received_events_url":"https://api.github.com/users/sirchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-06T09:34:36Z","updated_at":"2018-07-06T17:18:45Z","closed_at":null,"author_association":"NONE","body":"etcd &etcdctl that I used is version **3.2.23.**\r\n\r\nAFAK, proxy mode is only supported in API2. In proxy mode, I can use etcdctl as a client to test https& http connection, and it does work well.\r\n\r\nBut in my sitution, only API3 can be used, so I try to use gRPC proxy.\r\n\r\nI just test the gRPC by following the guide, and http can work well. etcdctl is my client.\r\n\r\nwhen I try the https mode in gRPC proxy, it does't work. There is no more guide I can find. I don't known how to do it.\r\n\r\nAnd also, listen-addr argument in the command below seems have no explanation.\r\n`$ etcd grpc-proxy start --endpoints=infra0.example.com,infra1.example.com,infra2.example.com --listen-addr=127.0.0.1:2379\r\n`\r\n\r\nThree nodes are started as follow:\r\n`etcd --name=node2 --listen-client-urls=https://localhost:1279 --advertise-client-urls=https://localhost:1279 --listen-peer-urls=http://localhost:1280 --initial-advertise-peer-urls=http://localhost:1280 --initial-cluster=node1=http://localhost:1180,node2=http://localhost:1280,node3=http://localhost:1380 --initial-cluster-token=etcd-cluster-token --initial-cluster-state=new --cert-file=./etcd-node.pem --key-file=./etcd-node-key.pem --peer-cert-file=./etcd-node.pem --peer-key-file=./etcd-node-key.pem --trusted-ca-file=./ca.pem --peer-trusted-ca-file=./ca.pem --data-dir=./nodes/node2 --peer-client-cert-auth=true\r\n`\r\n\r\n![image](https://user-images.githubusercontent.com/22660757/42371208-5c613178-8141-11e8-9cbf-090dac5c2682.png)\r\n![image1](https://user-images.githubusercontent.com/22660757/42371210-5cba1996-8141-11e8-8d26-48564d3b146c.png)\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/403096025","html_url":"https://github.com/coreos/etcd/issues/9908#issuecomment-403096025","issue_url":"https://api.github.com/repos/coreos/etcd/issues/9908","id":403096025,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzA5NjAyNQ==","user":{"login":"sirchen","id":22660757,"node_id":"MDQ6VXNlcjIyNjYwNzU3","avatar_url":"https://avatars2.githubusercontent.com/u/22660757?v=4","gravatar_id":"","url":"https://api.github.com/users/sirchen","html_url":"https://github.com/sirchen","followers_url":"https://api.github.com/users/sirchen/followers","following_url":"https://api.github.com/users/sirchen/following{/other_user}","gists_url":"https://api.github.com/users/sirchen/gists{/gist_id}","starred_url":"https://api.github.com/users/sirchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirchen/subscriptions","organizations_url":"https://api.github.com/users/sirchen/orgs","repos_url":"https://api.github.com/users/sirchen/repos","events_url":"https://api.github.com/users/sirchen/events{/privacy}","received_events_url":"https://api.github.com/users/sirchen/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T17:18:45Z","updated_at":"2018-07-06T17:18:45Z","author_association":"NONE","body":"Sorry, it didn’t work. In fact, I have already done that when I used gRPC proxy at the beginning."}}
{"actor":{"display_login":"sirchen"}}