Closed RupavJain closed 1 year ago
How do you access the server/resolve the address? It is likely that I'm unable to help you with this issue as this might have something to do on how grpc java handles connections. You might have to configure connection timeouts or request retry and for that you have to ask on the grpc-java repo or stackoverflow for help. If there is a property for that, that I could add support for please let me know.
Looks like there is nothing we can do here.
add the below configurations will help:
enableKeepAlive: true
keepAliveWithoutCalls: true
The context
What do you wish to achieve? Reestablish the connection with gRPC Server after Server is restarted (or new instance gets deployed)
The question
What's the problem? What's not working? What's missing and why do you need it? Once Server is restarted, Client which had already established channel with the server, now unable to reach to client - and gives unavailability error.
Stacktraces and logs
Do you have any relevant stacktraces or logs of your attempts?
The application's environment
Which versions do you use?
Additional information