Are you using the same Python server instance for plaintext and SSL/TLS? 
Don't you also have to configure the Python server to use TLS? 

On Monday, August 1, 2022 at 3:13:51 AM UTC-7 [email protected] wrote:

> Hi,
>
> I have a Client-Java and Server python, this is my problem:
> Whitout autenthication is ok, but SSL/TLS throw this from blockingStub
>
> Exception in thread "main" io.grpc.StatusRuntimeException: UNAVAILABLE: io 
> exception
> Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, 
> WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0]
> at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:271)
> at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:252)
> at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:165)
> at grpcProtos.ServiceGrpc$ServiceBlockingStub.login(ServiceGrpc.java:316)
> at clientGrpc.ClientGrpc.main(ClientGrpc.java:41)
> Caused by: 
> io.grpc.netty.shaded.io.netty.handler.ssl.SslHandshakeTimeoutException: 
> handshake timed out after 10000ms
> at 
> io.grpc.netty.shaded.io.netty.handler.ssl.SslHandler$7.run(SslHandler.java:2112)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469)
> at 
> io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
> at 
> io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at 
> io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:833)
>
> What is the problem?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/e1315e12-5620-4fc2-b90d-b65ff7c251e0n%40googlegroups.com.

Reply via email to