Subscribe experimental doesn't appear to be retrying on retryable exceptions, also doesn't surface the error.
See original GitHub issueFull context at https://github.com/GoogleCloudPlatform/google-cloud-python/issues/4841#issuecomment-386988007 downwards.
gist with logs: https://gist.github.com/psalaberria002/e91956d94e82d706d65da7111a40ca24
Possible culprits:
send()
andrecv()
expectedly error onnext(self.call)
, but if that was a retryable error that somehow re-bubbled, it would not trigger any callbacks.bidi
usesrpc._wrapped
becauseapi_core
doesn’t appropriately exposeadd_done_callback
. This means that bidi unwraps all of the retry logic.
This doesn’t explain why retrying a perfectly normal looking error somehow still leads us to a broken stream, unless the newly opened stream also has an error. But it’s unclear why that wouldn’t happen when calling the initial RPC.
Issue Analytics
- State:
- Created 5 years ago
- Comments:43 (20 by maintainers)
Top Results From Across the Web
Spring Retry does not work on 2nd level of methods
Once getSubscriberAccount has been invoked and execution has passed through the proxy and into the @Service instance of the object, no reference to...
Read more >Handling operation errors - Apollo GraphQL Docs
Apollo Client helps you handle these errors according to their type, enabling you to show appropriate information to the user when an error...
Read more >Pokemon Catch - Generic Exception Handling In Apex
My main problem with catching the generic Exception is that it demonstrates that you do not know the expected behavior or failure paths...
Read more >Release Notes — Airflow Documentation
TaskLogReader class, which does not have the above restrictions. If a sensor times out, it will not retry¶. Previously, a sensor is retried...
Read more >Reactor 3 Reference Guide
Reactor 3 does not officially support or target Android (consider using ... retry , as its name indicates, lets you retry an error-producing ......
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 Free
Top 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
hey thanks!
here is some new logs, I could reproduce the error three times, it’s much harder in DEBUG mode: 1.
Thanks, @jam182. let’s continue this over at #5444.