Thanks Eric and Carl for your suggestion!
Best Regards, Benson 在 2016/9/17 11:20, Eric Anderson 写道: Please enable the Google Play Services Dynamic Security Provider. There are a few links to how to do that in our public SECURITY.md<https://github.com/grpc/grpc-java/blob/master/SECURITY.md#tls-on-android>. It's my understanding that every Google property should be using the provider for security reasons, independent of gRPC. On Tue, Sep 13, 2016 at 4:12 PM, 'Carl Mastrangelo' via grpc.io<http://grpc.io> <<mailto:grpc-io@googlegroups.com>grpc-io@googlegroups.com<mailto:grpc-io@googlegroups.com>> wrote: I believe we get our TLS implementation from Google Play Services (as it is usually the most up to date). Is your version up to date? On Friday, September 2, 2016 at 11:01:06 AM UTC-7, 王 梓佳 wrote: Hi team, I tested the example TesterOkHttpChannelBuilder.java, it worked for android 4.4+ with TLS/ALPN, but I encountered following exception when i test it on 4.1.2 TLS/ALPN or NPN. Could you pls give me a clue to resolve this issue? public static ManagedChannel build(String host, int port, @Nullable String serverHostOverride, boolean useTls, @Nullable InputStream testCa, @Nullable String androidSocketFactoryTls) javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x5f338c30: Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x5805d76a:0x00000000) Thanks, Benson -- You received this message because you are subscribed to the Google Groups "grpc.io<http://grpc.io>" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com<mailto:grpc-io+unsubscr...@googlegroups.com>. To post to this group, send email to <mailto:grpc-io@googlegroups.com> grpc-io@googlegroups.com<mailto: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/a957b824-5d9f-4bf0-9059-846cab32c153%40googlegroups.com?utm_medium=email&utm_source=footer> https://groups.google.com/d/msgid/grpc-io/a957b824-5d9f-4bf0-9059-846cab32c153%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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/TY1PR04MB08798079E9437822005960B6D1F20%40TY1PR04MB0879.apcprd04.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.