Maybe try defining TSI_OPENSSL_ALPN_SUPPORT=0 and see whether it can fall 
back to NPN?

On Monday, July 24, 2017 at 2:23:58 PM UTC-7, [email protected] wrote:
>
> My go client is set up like this and works correctly so I believe the 
> server and ELB are set up correctly:
>
> creds := credentials.NewClientTLSFromCert(nil, "")
> conn, err := grpc.Dial(address, grpc.WithTransportCredentials(creds),
> grpc.WithPerRPCCredentials(&loginCreds{
> secret: secret,
> }))
>
>
>
>
> On Monday, July 24, 2017 at 2:19:48 PM UTC-7, [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/0b42d1b6-b1c5-4a0e-8df2-9b2da732593c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to