The error :
Rendezvous of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "Socket closed" debug_error_string = "{"created":"@1576780304.349820911","description":"Error received from peer ipv4:104.155.6.79:443","file":"src/core/lib/surface/call.cc","file_line":1046,"grpc_message":"Socket closed","grpc_status":14}
The documentation for this error is saying : The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff.
I found that the backoff GRPC ARGS available are :
grpc.initial_reconnect_backoff_ms
grpc.max_reconnect_backoff_ms
grpc.min_reconnect_backoff_ms
These args seems to have these values by default
#define GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS 1
#define GRPC_SUBCHANNEL_RECONNECT_MIN_TIMEOUT_SECONDS 20
#define GRPC_SUBCHANNEL_RECONNECT_MAX_BACKOFF_SECONDS 120
How do you know how many times the backoff will retry ? Is it linked to "grpc.enable_retries"? because the doc mentions "transparent retries" and I am not sure it is linked to backoff options.
What is the correct way to handle code 14 error?