Network retries or time outs
See original GitHub issuePlease answer these questions before submitting your issue.
What version of gRPC are you using?
1.4.0 on Android
What JVM are you using (java -version
)?
1.8
What did you do?
I am trying to add a retry policy. It seems grpc after network failure doesn’t re-connect immidiately even when network is back.
If possible, provide a recipe for reproducing the error.
- disable network n keep on aeroplane mode
- try to run the app
- enable back network
You will see grpc doesn’t connect back even when you retry so many times. it takes for 25-30 secs to retry again.
What did you expect to see?
grpc should connect immediately on network availability. I like to know the right amount of time for waiting .
What did you see instead?
it never connects back
Is there a way to configure the retries ? or to get to know the retry connection time ?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Timeouts, retries and backoff with jitter - Amazon AWS
If errors are caused by load, retries can be ineffective if all clients retry at the same time. To avoid this problem, we...
Read more >Timeout. Let's try this again. Tuning timeouts and retries at scale.
Everyone knows that outages suck. We're always learning from them. Let's dive into the details of some changes we made to our system...
Read more >Polling Intervals, Timeouts, and Retries - Eaton's Power Quality
The retries specifies how many times a network request is re-sent before the request fails. LanSafe waits the full timeout period between each...
Read more >Retries and Timeouts - TechDocs - Broadcom Inc.
Timeout is a period of time that an SNMP manager waits for a response message from an agent. The recommended value is 5...
Read more >Cancel, Retry and Timeouts: Keep Your Sanity ... - SpringOne
One of the added values of Reactive Programming is how timeout, retry and cancel concepts are first-class citizens. It naturally takes their propagation...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ooops, sorry about the incorrect assigning of this issue. Re-assigned to me, will update when it’s ready.
Closing, since this is being handled as part of #2169 (which added an API in 1.8 that should address this) and #3685 (to reduce the impact when not using the new API)