We have bidirectional stream (server java implemented, client in python) 
and use it for server streaming to client. Client just initiates connection 
and responds to server.

If connection breaks for any reason, client never gets to now it. 
There are no exceptions, ChannelConnectivity stays READY, so it doesnt know 
if there is need to reconnect.
I've set keepalive, keepalive timeout, but it doesnt help.


any ideas?

channel = grpc.secure_channel(target=self._target,
                              options=[
                                  ('grpc.keepalive_time_ms', 5000),
                                  ('grpc.keepalive_timeout_ms', 5000)
                              ],
                              credentials=credentials)

self._channel = grpc.intercept_channel(channel, grpc_client_interceptor)

-- 
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/4f162a0c-939d-4dbb-8319-710d50633203o%40googlegroups.com.

Reply via email to