Hi,

I had the same problem ALPN, but with connecting to a etcdv3 cluster 
running on compose.io. I've solved it by commenting out ALPN code in gRPC 
Core. Here's my thread if you find it 
useful: https://groups.google.com/forum/#!topic/grpc-io/pz5f8PpfzEo

Cheers,
Klemen

On Monday, July 24, 2017 at 11:19:48 PM UTC+2, [email protected] wrote:
>
> bool uploadDetectionRPC(const FrameData &frame_data, const std::string &
> server, const std::string &secret) {
>     auto options = grpc::SslCredentialsOptions();    
>     auto channel_creds = grpc::SslCredentials(options);
>     auto call_creds = grpc::MetadataCredentialsFromPlugin(
>         std::unique_ptr<grpc::MetadataCredentialsPlugin>(new Authenticator
> (secret)));
>
>     auto composite_creds = grpc::CompositeChannelCredentials(channel_creds
> , call_creds);
>     IngestionServiceClient ingestion_client(grpc::CreateChannel(server, 
> composite_creds));
>     bool res = ingestion_client.RecordDetection(frame_data);
>
>     return res;
> }
>
> Having some issues with this code sending data thgrough AWS ELB instance 
> to server. It works with Go can my client can send correctly to the sever 
> but when I try to implement in CPP I start getting this ALPN property issue.
>
> E0724 14:16:01.337537569   22655 security_connector.c:529]   Missing 
> selected ALPN property.
> E0724 14:16:01.337593585   22655 handshake.c:128]            Security 
> handshake failed: {"created":"@1500930961.337578768","description":"Error 
> checking 
> peer.","file":"external/com_github_grpc_grpc/src/core/lib/security/transport/handshake.c","file_line":152,"security_status":1}
>
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/41d752f0-39e5-4781-b6e9-02d1d437267d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to