Skip to content

Is it possible to apply retry strategy? #347

Open
@gigi

Description

@gigi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationEverything related to the documentationenhancementA feature request or improvementhelp wantedRequesting external helpquestionA question about this library or its usage

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions