Hi,

I'm having a problem connecting to a etcd v3 database with gRPC using SSL 
in C++. I create the grpc::Channel like this:

grpc::CreateChannel(url, 
grpc::SslCredentials(grpc::SslCredentialsOptions{}));

This is the error I get:
14.998631627   24325 security_handshaker.c:126]  Security handshake failed: 
{"created":"@1501495154.998615545","description":"Cannot check peer: 
missing selected ALPN 
property.","file":"src/core/lib/security/transport/security_connector.c","file_line":591}
I0731 02:59:14.999175217   24325 subchannel.c:707]           Connect 
failed: {"created":"@1501495154.998615545","description":"Cannot check 
peer: missing selected ALPN 
property.","file":"src/core/lib/security/transport/security_connector.c","file_line":591}
I0731 02:59:14.999456787   24325 subchannel.c:503]           Retry in 
19.652596073 seconds

I also tried using the etcd client supplied by coreos 
<https://github.com/coreos/etcd/tree/master/clientv3>, which uses the 
gRPC-Go and it does work, but also outputs this error:
grpc: Failed to dial 
portal298-3.etcd-recognition.reveel-technologies.composedb.com:16217: 
connection error: desc = "transport: context canceled"; please retry.

Does anyone have any idea what might be wrong?

Thanks in advance,
Klemen

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/784132f9-d981-46ba-80ef-1efcb2b06d82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to