-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to make load balance while use SSL connection (CPP) #20186
Comments
Could you give more information about why the address you are using does not work? I think your question is that the address work in load balance channel, doesn't work in credential channel, which means there is inconsistency in channel apis. |
I use grpc client to connect etcd service cluster, the code snippet like that:
but while it execute rpc call, it report connect fail, but it work in condition that not use SSL, so I just |
@nanahpang would you notice me how about it, thx |
@nanahpang I got an urgent task and please help me, thx! |
My guess is that |
Would the server authz callback ability offered by #19778 (when merged) address this issue? |
thanks, I appeal to add DNS SRV, for example the grpc version is 1.20.0 Is it the right way to solve my problem ? |
Sorry, I'm not sure that will work. Note that SRV records are used only to bootstrap "grpclb" load balancing in grpc. It is possible, though, to publish a DNS A or AAAA record with such a list of IP addresses, and round robin over them (I believe that is what you're aiming for in this last comment?) |
This issue is being closed because it has been marked with the label kind/question. This form is for bug reports and feature requests ONLY! |
I was used to fill address like "ipv4:ip1:port1,ip2:port2 ..." for load balance, but recently , I have to use credential channel, use the address seems dose not work, please tell how to resolve the issue (whether certifications also need support multi ips)
The text was updated successfully, but these errors were encountered: