# What can trigger a modem to download it's provision?

**URL:** <https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340>\
**Category:** Uncategorized\
**Created:** [January 18, 2022, 9:27pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340 "2022-01-18T21:27:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![webtron](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/webtron/32/396_2.png) [@webtron](https://forum.genieacs.com/u/webtron)\
**Post date:** [January 18, 2022, 9:27pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/1 "2022-01-18T21:27:44Z")

</div>

I use Genieacs as a mid point between the modem and a server I use to monitor access points and modems in one spot. I upload a generic config to the modem via the modem gui and it connects to Genieacs and then I push it’s configs from a PHP MYSQL server via the API.  
I have a Tplink modem which I was playing around with and pushed a config/provision from Genieacs to see if it would stick as the new factory state. It didn’t appear to work as I had to go through the setup again after pressing the reset button. Trouble is now roughly every 4 days it pulls the config/provision that I originally sent to it. So what can trigger this behaviour to keep downloading the config file?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [January 19, 2022, 8:03pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/2 "2022-01-19T20:03:04Z")

</div>

Do you have a stale provision script that is doing this? Or some other job? Thats the only way I can think of for this to happen.

What is in the ACS log files?

---

<div class="post-metadata">

**Author:** ![webtron](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/webtron/32/396_2.png) [@webtron](https://forum.genieacs.com/u/webtron)\
**Post date:** [January 20, 2022, 6:07am UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/3 "2022-01-20T06:07:36Z")

</div>

I don’t use any provisioning scripts and there are no tasks in the list for this device. The logs show

```auto

/var/log/genieacs/genieacs-cwmp-access.log:2022-01-10T08:43:50.355Z [INFO] xxx.xxx.xxx.xxx B0A7B9-IGD-xxxxxxxxxxxxx: Inform; cpeRequestId="4457" informEvent="2 PERIODIC" informRetryCount=0
/var/log/genieacs/genieacs-cwmp-access.log:2022-01-10T08:43:50.388Z [WARN] xxx.xxx.xxx.xxx B0A7B9-IGD-xxxxxxxxxxxxx: Channel has faulted; channel="task_61b68b3949ab9903275fbd75" retries=6 faultCode="timeout" faultMessage="Download operation timed out"
/var/log/genieacs/genieacs-cwmp-access.log:2022-01-10T08:43:50.390Z [INFO] xxx.xxx.xxx.xxx B0A7B9-IGD-xxxxxxxxxxxxx: ACS request; acsRequestId="17e43286e920000" acsRequestName="Download" acsRequestCommandKey="17e43286e920000"

```

and in the fs log  
`2022-01-10T08:43:51.970Z [INFO] xxx.xxx.xxx.xxx: Fetch file; filename="ArcherVR300.bin"`

I think the download fault is because the modem is behind NAT. If you look at the times the file is downloaded. The informs before that lot are just normal in the logs.

---

<div class="post-metadata">

**Author:** ![webtron](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/webtron/32/396_2.png) [@webtron](https://forum.genieacs.com/u/webtron)\
**Post date:** [January 22, 2022, 10:29pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/4 "2022-01-22T22:29:20Z")

</div>

It’s every four days looking at the logs. I seem to remember something about failed tasks retrying to complete. Would that be every four days?

```auto
2022-01-10T08:43:51.970Z [INFO] xxxxxxxxxxxxx: Fetch file; filename="ArcherVR300.bin"
2022-01-14T10:01:04.942Z [INFO] xxxxxxxxxxxxx: Fetch file; filename="ArcherVR300.bin"
2022-01-18T11:15:35.235Z [INFO] xxxxxxxxxxxxx: Fetch file; filename="ArcherVR300.bin"
2022-01-22T12:31:30.207Z [INFO] xxxxxxxxxxxxx: Fetch file; filename="ArcherVR300.bin"

```

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [January 24, 2022, 5:50pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/5 "2022-01-24T17:50:43Z")

</div>

Is there anything listed under the faults tab? If not, have you tried restarting the cwmp process?

-dan

---

<div class="post-metadata">

**Author:** ![webtron](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/webtron/32/396_2.png) [@webtron](https://forum.genieacs.com/u/webtron)\
**Post date:** [January 26, 2022, 9:53pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/6 "2022-01-26T21:53:25Z")

</div>

No there’s nothing under the faults tab and It just happened again. Every 4 days, 1 hour and roughly 15 minutes.  
No tasks listed when I do:  
`curl -i "https://xxxxxxxxxx.com:7557/tasks/?query=%7B%22device%22%3A%22B0A7B9-IGD-xxxxxxxxxxxx%22%7D"`

```auto
HTTP/1.1 200 OK
GenieACS-Version: 1.2.x+20210225064803
Content-Type: application/json
total: 0
Date: Wed, 26 Jan 2022 21:45:46 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Transfer-Encoding: chunked

[

]

```

Is there a way to see failed tasks that will be retried?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [January 26, 2022, 10:17pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/7 "2022-01-26T22:17:27Z")

</div>

Your version of GenieACS is almost a year old. Try upgrading to 1.2.8 and see if the issue repeats.

---

<div class="post-metadata">

**Author:** ![webtron](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/webtron/32/396_2.png) [@webtron](https://forum.genieacs.com/u/webtron)\
**Post date:** [January 26, 2022, 10:37pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/8 "2022-01-26T22:37:21Z")

</div>

I can’t find what it was but I came across a change that stopped me upgrading last year. I can’t see what it was in the changelog so must have come across it in the forum. Surely there is a way to see what tasks are held and repeated.

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [January 27, 2022, 9:33pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/9 "2022-01-27T21:33:51Z")

</div>

v1.2.8 has been pretty rock solid for me. I bet whatever issue it was has been fixed by now 🙂.

---

<div class="post-metadata">

**Author:** ![webtron](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/webtron/32/396_2.png) [@webtron](https://forum.genieacs.com/u/webtron)\
**Post date:** [January 28, 2022, 10:58pm UTC](https://forum.genieacs.com/t/what-can-trigger-a-modem-to-download-its-provision/2340/10 "2022-01-28T22:58:48Z")

</div>

I think this is the issue [Are operations meant do be deleted? - #9 by perotta](https://forum.genieacs.com/t/are-operations-meant-do-be-deleted/1066/9)
