With using grpc, If server is not in serving, client will try to connect 
again and again. like that

E0623 23:00:55.347071102    9431 tcp_client_posix.c:191]     failed to 
connect to 'ipv4:101.201.77.240:50052': timeout occurred
E0623 23:01:01.860252293    9431 tcp_client_posix.c:191]     failed to 
connect to 'ipv4:101.201.77.240:50052': timeout occurred
E0623 23:01:13.193809141    9431 tcp_client_posix.c:191]     failed to 
connect to 'ipv4:101.201.77.240:50052': timeout occurred

I even cannot break it by ctrl +c.  I must find out the pid and then kill 
it.

I want it throw a exception, I could catch it and then return or do 
something else, rather than try to connect again and again. 

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/7df1d2b7-883c-4275-93e4-720601c87524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to