# Repeated firmware download

**URL:** <https://forum.genieacs.com/t/repeated-firmware-download/759>\
**Category:** Uncategorized\
**Created:** [May 6, 2020, 1:25pm UTC](https://forum.genieacs.com/t/repeated-firmware-download/759 "2020-05-06T13:25:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![thefans1](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@thefans1](https://forum.genieacs.com/u/thefans1)\
**Post date:** [May 6, 2020, 1:25pm UTC](https://forum.genieacs.com/t/repeated-firmware-download/759/1 "2020-05-06T13:25:06Z")

</div>

Hi,

We constantly encounter repeated firmware download problem. The 7 TRANSFER COMPLETE event simply doesn’t get recognized and download task would be sent to CPE over and over again:

 ![screenshot-1](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/9fd48b9b5a05a1546b29ba16a3faf5b2a52cdf08.png)

Is this a bug, or we are doing something wrong?

Thanks for any help.

---

<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:** [May 6, 2020, 7:50pm UTC](https://forum.genieacs.com/t/repeated-firmware-download/759/2 "2020-05-06T19:50:08Z")

</div>

I’m going to guess that you are using a task to cause the CPE to download the firmware/config upgrade as opposed to a provision script?

Some CPEs go wonky and send back the wrong commandKey (used to correlate request/responses) or some even fail to send a proper acknowledgement that they have successfully downloaded the file.

In those cases, you will need to manually remove the download task.

If you perform your firmware upgrades via a provision script this isn’t an issue because it doesn’t get get added to the cpe tasks.

---

<div class="post-metadata">

**Author:** ![thefans1](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@thefans1](https://forum.genieacs.com/u/thefans1)\
**Post date:** [May 6, 2020, 9:09pm UTC](https://forum.genieacs.com/t/repeated-firmware-download/759/3 "2020-05-06T21:09:18Z")

</div>

@akcoder Thanks for the reply. It indeed has been tasks instead of provision scripts. However, from the CWMP log screenshot I provided, you can see request and response command keys do match but GenieACS fails to correlate. Any explanation as to why this happens?

---

<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:** [May 6, 2020, 9:53pm UTC](https://forum.genieacs.com/t/repeated-firmware-download/759/4 "2020-05-06T21:53:46Z")

</div>

Thats not a question I have the answer to. Maybe @zaidka can answer that. What version are you using? If you are using 1.2, are you on latest master?

---

<div class="post-metadata">

**Author:** ![thefans1](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@thefans1](https://forum.genieacs.com/u/thefans1)\
**Post date:** [May 6, 2020, 10:07pm UTC](https://forum.genieacs.com/t/repeated-firmware-download/759/5 "2020-05-06T22:07:10Z")

</div>

We are using 1.1.3 as official 1.2 isn’t out yet (but we hope it can come out soon).

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [May 6, 2020, 10:56pm UTC](https://forum.genieacs.com/t/repeated-firmware-download/759/6 "2020-05-06T22:56:17Z")

</div>

I see session timeout errors. As the session is not getting closed properly the updates aren’t getting saved and so the download operation isn’t getting registered to have had started.

---

<div class="post-metadata">

**Author:** ![thefans1](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@thefans1](https://forum.genieacs.com/u/thefans1)\
**Post date:** [May 7, 2020, 11:26am UTC](https://forum.genieacs.com/t/repeated-firmware-download/759/7 "2020-05-07T11:26:05Z")

</div>

Thanks for very prompt reply. That answered our question.
