462 questions
5 votes
3 answers
156 views
.NET IHttpClientFactory + Microsoft Resilience retry: same HttpRequestMessage resent, delegating handler not re-running?
I have an HttpClient built with IHttpClientFactory and Microsoft.Extensions.Http.Resilience retry on 401. Pipeline: Primary: HttpClientHandler (AllowAutoRedirect = false) Delegating: ....
0 votes
0 answers
48 views
Gradle task retry : How to unify test results into one
I am using org.gradle.test-retry with my Serenity Test, to rerun only the failed tests in the same Pipeline. It works fine. The only problem is, the serenityTest.json file is overwritten by the last ...
2 votes
1 answer
216 views
Aspire with a .NET 9 Blazor App: increasing Polly retry for HttpClientFactory while using a Http Message handler
I'm trying to increase my retry duration from the standard 10 seconds in my Blazor application, but the resilience handler doesn't seem to be working. I've tried both of the setups below but my Http ...
1 vote
1 answer
82 views
How to prevent exception bubbling after retries with @RetryableTopic in Spring Kafka
I'm using Java 17 and a Spring Boot application to consume Kafka messages with retry handling via Spring Kafka's. I have a custom KafkaTemplate and a custom Kafka listener container factory. @...
0 votes
0 answers
71 views
How to log "retry_success", only if retry got triggered and ran successfully using tenacity
PROBLEM: Trying to generate success log/slack notification, only if retry got triggered and ran successfully. Able to generate the warning log properly, but not success log.. if retry happened. Using ...
1 vote
1 answer
64 views
How can I get the last result from a retrystrategy in an outer timeout strategy using Polly?
I have the following requirement that I can't really figure out how to solve. Using Polly in C#/.NET: Given an user defined timeout and an internally/system defined retry strategy. How can I get the ...
0 votes
1 answer
266 views
Spring @Retryable annotation -- why trying to recover on unmentioned exceptions?
I'm trying to use @Retryable and @Recover and there's clearly something I am missing. The (very paraphrased, very simplified) code is essentially // MyRetryableException is a RuntimeException @...
0 votes
0 answers
31 views
how to re-try failed test case on test level not on the feature file level
I am using webDriverIo with Cucumber frame work. I have a feature files with 4 scenarios each , now with exiting re-try option , if one scenario is failed out of 4 scenarios then all 4 scenarios are ...
0 votes
2 answers
163 views
Polly in C# is retrying the request, even though HttpClient isn't timing out and there are no errors
I have an API client that calls an API hosted in Kubernetes and using kong for gateway API, which is built using ASP.NET 6. We've also configured a Polly policy to retry the request if it receives an ...
1 vote
0 answers
115 views
custom retry backoff based on exception thrown in batch consumer
What I am trying to implement: I would like to implement a custom retry backoff strategy based on the exception thrown in a batch consumer. The logic I want to implement is as follows: If an ...
1 vote
1 answer
68 views
Preventing existing polly policy from being invoked for certain results
I have a predefined IAsyncPolicy<HttpResponseMessage> policy coming from an external assembly. I want to apply this policy to a Http Client, BUT I want to exclude one of the cases this policy ...
0 votes
1 answer
332 views
Is there a way to automatically retry failed stages in an Azure DevOps YAML pipeline?
I have a multi-stage YAML pipeline, and sometimes a stage fails due to transient issues (e.g., network timeouts, flaky tests, etc.). Instead of manually re-running the stage, I want to configure an ...
0 votes
1 answer
136 views
dnsjava - How are DNS query retries controlled using Simple Resolver in DNSJava?
How are DNS query retries controlled using Simple Resolver in DNSJava? Using the same resolver, we see retries of 2 and in some cases 3. It is not clear as to how it is retried. Any help in this ...
0 votes
1 answer
206 views
How to refresh access token when proxied request gets 401 response YARP
That's my YARP configuration: builder.Services.AddReverseProxy() .LoadFromConfig(builder.Configuration.GetRequiredSection("ReverseProxy")) .AddTransforms(builder => { ...
0 votes
0 answers
58 views
@KafkaListener idiomatic way of nack with retry counter
I have spring-kafka listener: @KafkaListener(...) public void consume(UpdateEvent message, Acknowledgment ack) { processor.process(message); ack.acknowledge(); } Questions: Questions: Since ...