Questions tagged [retrypolicy]

Provides the base implementation of the retry mechanism for unreliable actions and transient conditions when accessing Sql Azure.

101 questions
2
votes
1 answer

FixedDelayRetry attribute on Azure Function doesn't work properly

Since the release of the latest Microsoft.Azure.WebJobs assembly, it is now possible to setup the retry policy of an Azure Function through an attribute such as [FixedDelayRetry]. I was very interested in this feature since I have a Blob Trigger…
MarleneHE
  • 334
  • 4
  • 17
2
votes
1 answer

When setting up a state machine in the AWS CDK, how do you remove the default Retry policy for a Lambda Invocation?

I'm creating a state machine with the AWS CDK. Instead of the default retry policy, which looks like this: "Retry": [ { "ErrorEquals": [ "Lambda.ServiceException", "Lambda.AWSLambdaException", …
2
votes
2 answers

How to retry sending events from Azure Event Grid to Logic Apps

I have an event grid which publishes a lot of events, and a logic app which needs to consume some of them. These events aren't guaranteed to be in order, and events which require another event to be processed first, might end up in the logic app…
2
votes
0 answers

Maximum limit of a SNS delivery policy for HTTP subscription

The SNS documentation specifies that we can configure a delivery policy for a HTTP/S subscription of a SNS: https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html. Given that the maximum limit of number of retries is 100 and…
Gastly Yoi
  • 73
  • 1
  • 8
2
votes
1 answer

Microsoft.Azure.ServiceBus - SubscriptionClient ignoring RetryPolicy (RetryExponencial)

I'm trying to implement a retry policy but it keeps getting ignored. Is there properties in SubscriptionClient that overrides the ones I give when I create the client? Here is the code i tried: _retryPolicy = new…
Miguel Vale
  • 59
  • 11
2
votes
0 answers

Does PrimaryThenSecondary LocationMode check if RA-GRS for primary exists?

I am using LocationMode in order to Retry to download stream from the blob storage. In certain cases, RA-GRS for the account might not exist. Do I need to take care that LocationMode is used only when RA-GRS exists for a storage account?
2
votes
2 answers

Polly Circuit Breaker / Retry to automatically restart queries after a network outage

I am implementing the Circuit Breaker and Retry patterns via Polly in .NET framework 4.5.2. I wish to see if my understanding is correct. Question 1: If there is a network outage and the circuit breaker has reached the…
Lee Z
  • 802
  • 2
  • 13
  • 39
2
votes
1 answer

Error in Configuring Azure Storage Account after using Retry Policies

This is my code to Configure Azure Storage Account public CloudTableClient ConfigureStorageAccount() { var storageCred = new StorageCredentials(ConfigurationManager.AppSettings["SASToken"]); CloudTableClient = new CloudTableClient( …
tRuEsAtM
  • 3,517
  • 6
  • 43
  • 83
2
votes
0 answers

java.net.UnknownHostException: how to retry on exception catch

Respectable gurus I am new in the android and JAVA universe. I am getting the following error while try to download a series of images. "Where as The URL / hostname is correct" The Error is: java.net.UnknownHostException: Unable to resolve host…
2
votes
3 answers

Azure WebJob QueueTrigger Retry Policy

I would like to have my queue retry failed webjobs every 90 minutes and only for 3 attempts. When creating the queue i use the following code CloudQueueClient queueClient = storageAccount.CreateCloudQueueClient(); IRetryPolicy…
1
vote
0 answers

Event Hub - retry policy to continue retry forever

As per my business case, the processor application which processing the EventHub encounters any transient faults(429,449,503 etc) it should be retried as many times as it takes to succeed with exponential back-off in order to avoid data loss. Does…
1
vote
1 answer

Should non-idempotent operations be called with a retry policy?

This is probably a silly question but can I call a non-idempotent with a retry policy? The action is a SQL Write operation. My understanding is that I am able to do it because the stored procedures I have are transactional so if they fail, the…
1
vote
1 answer

Are non-idempotent SQL write operations affected by retry policies?

I currently have a retry policy for SQL write operations. My question is, if the operation is not idempotent will it matter? I've always thought that if an exception comes up and the operation is retried, it means that the original attempt does not…
1
vote
2 answers

A ChangeNotifierProxyProvider was used after being disposed

I am retrying an api call if I get 401 response but I am not Abel to call and I am facing exception following is my retry code final client = RetryClient( http.Client(), retries: 1, when: (response) { return…
Santosh Kumar
  • 158
  • 1
  • 14
1
vote
0 answers

AWS Lambda retried more than max retry

I have configured an AWS Lambda such that it will be triggered if a specific SQS queue receives message and then it will consume and process the message. If any exception occurs the lambda will retry 2 times and if it fails again then the message…
Rafat
  • 78
  • 7