question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Network retries or time outs

See original GitHub issue

Please 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:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ericgribkoffcommented, Aug 3, 2017

Ooops, sorry about the incorrect assigning of this issue. Re-assigned to me, will update when it’s ready.

0reactions
ejona86commented, Nov 8, 2017

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)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found