# Artifact installs failing on "Tried maximum amount of times"

**URL:** <https://hub.mender.io/t/artifact-installs-failing-on-tried-maximum-amount-of-times/4272>\
**Category:** General Discussions\
**Created:** [November 3, 2021, 4:55am UTC](https://hub.mender.io/t/artifact-installs-failing-on-tried-maximum-amount-of-times/4272 "2021-11-03T04:55:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [November 3, 2021, 7:35am UTC](https://hub.mender.io/t/artifact-installs-failing-on-tried-maximum-amount-of-times/4272/2 "2021-11-03T07:35:14Z")

</div>

You could try to set [`RetryPollIntervalSeconds`](https://docs.mender.io/client-installation/configuration-file/configuration-options#retrypollintervalseconds) a bit higher, but I don’t think it will make a big difference in your case. It uses exponential backoff with number of attempts defined by this formula:

```auto
3 * ceil(log2(RetryPollIntervalSeconds) + 1)

```

In other words increasing `RetryPollIntervalSeconds` will only increase the number of attempts slightly, but will increase waiting time a lot.

If you are ok with patching, you could try to change the `3` in that formula instead, which can be done [here](https://github.com/mendersoftware/mender/blob/3.1.0/client/client.go#L598). Note that in order to do this you must be using Mender Client 3.0.0 or later, or else you will most likely get this error:

```auto
State data stored and retrieved maximum number of times

```

---

_[View the full topic](https://hub.mender.io/t/artifact-installs-failing-on-tried-maximum-amount-of-times/4272)._
