-
Notifications
You must be signed in to change notification settings - Fork 864
Open
Labels
documentationEverything related to the documentationEverything related to the documentationenhancementA feature request or improvementA feature request or improvementhelp wantedRequesting external helpRequesting external helpquestionA question about this library or its usageA question about this library or its usage
Milestone
Description
The context
Apply the retry, backoff strategy per RPC call
The question
Sometimes we get an error using your library as gRPC client and Armeria as gRPC server. We saw just failed unexpected logs failed: Connection refused
.
gRPC client Armeria implementation has the ability to configure retries for injected client https://line.github.io/armeria/client-retry.html
gRPC has experimental proposal https://github.com/grpc/proposal/blob/master/A6-client-retries.md
Stacktraces and logs
Caused by: io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: ADDRHERE/IPHERE:50051
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
at io.grpc.netty.shaded.io.netty.channel.unix.Errors.throwConnectException(Errors.java:124)`
Additional information
So, is it possible to achieve retry behavior using your library? Thank you
gaeshi and ArtDu
Metadata
Metadata
Assignees
Labels
documentationEverything related to the documentationEverything related to the documentationenhancementA feature request or improvementA feature request or improvementhelp wantedRequesting external helpRequesting external helpquestionA question about this library or its usageA question about this library or its usage