grpc-node icon indicating copy to clipboard operation
grpc-node copied to clipboard

Implement client retries in grpc-js

Open murgatroid99 opened this issue 4 years ago • 3 comments

We have had some reports that some customers are being adversely impacted by the missing retry behavior in grpc-js. In particular, apparently some auth errors encountered in the wild are transient, so when those failures do occur, a client with retries enabled will retry the call and eventually successfully authenticate, but a client without retries will immediately report an error to the user.

murgatroid99 avatar Dec 13 '19 19:12 murgatroid99

Any progress on this one? Or maybe a guide how to handle errors in this client implementation? At which errors we should retry and at which we should create a new client?

tommyjs007 avatar Jul 07 '20 01:07 tommyjs007

@murgatroid99

Veath avatar Oct 30 '20 14:10 Veath

Any news on this? Is using a client interceptor still the suggested method of retries? Anybody have any suggestions for one that is maintained? Or is everyone using their own.

artificial-aidan avatar Jan 20 '22 17:01 artificial-aidan

Client retries are now implemented in version 1.8.x, as specified here.

murgatroid99 avatar Jul 14 '23 22:07 murgatroid99