I am using java grpc client which connects to grpc server.
It was working fine for last 4 months but suddenly it started failing with
error:UNAVAILABLE while service was up and running,
We have checked the ping and telnet.
Even after restarting the server it's failing with same error, So we need
to restart client service and it started connecting.
jar version : 1.5.1.0
This is client code:
ManagedChannelBuilder<?> grpcChannelBuilder =
ManagedChannelBuilder.forAddress(serverAddress, port);
if (negotionType.equalsIgnoreCase("TLS"))
grpcChannelBuilder.useTransportSecurity(); else
grpcChannelBuilder.usePlaintext(); ManagedChannel channel =
grpcChannelBuilder.intercept(consumerAuthGrpcInterceptor).build();
blockingStub = SmsServiceRpcGrpc.newBlockingStub(channel);
Kindly let me know is there any way to reset the connections in case of
connection failure
--
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/57b70ad0-0055-4b50-838e-a4192a32a458n%40googlegroups.com.