<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122839/fota-triggered-with-very-long-delay</link><description>Hi, 
 We are using a modified version of the multi-service sample for nRF9151. Generally, FOTA updates from the nRF Cloud work well. 
 Once we deploy the FOTA update in the nRF Cloud, if the device is online we see the device getting the FOTA notification</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Jul 2025 12:48:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122839/fota-triggered-with-very-long-delay" /><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542871?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2025 12:48:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d59e5cb-7d7d-47ad-ad6b-c4ead08cfb20</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="teba99"]I can try the unmodified multi_service example, but it may be a while before I have any results because I have limited&amp;nbsp;cycles and the problem can&amp;#39;t be readily reproduced.[/quote]
&lt;p&gt;You can try multi_service sample to check if the same issue is present with unmofied sample as in the sample with your modifications. Please let me know if you are able to reproduce the issue with unmodified multi_service sample.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542848?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2025 10:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8055160-a103-4f25-bbf1-f88f9e3f1cf0</guid><dc:creator>teba99</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;We use MQTT. We have not used&amp;nbsp;&lt;span&gt;AT%XMONITOR yet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can try the unmodified multi_service example, but it may be a while before I have any results because I have limited&amp;nbsp;cycles and the problem can&amp;#39;t be readily reproduced.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Going back to my initial question, I was trying to&amp;nbsp;understand&amp;nbsp;if there may be a known issue with delayed FOTA. But it seems like you are not aware of any pending issues and the occurrence seems rare, so right now it&amp;#39;s not a very high priority for us.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542671?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2025 15:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5f9cca0-1d11-435e-b43b-f1debfe95d17</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Do you use CoAP or MQTT?&lt;br /&gt;Can you test unmodified multi_service sample on your affected board to see if you can replicate the problem?&lt;br /&gt;Which result do you get when using AT%XMONITOR?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542632?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2025 11:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:070e3278-c071-4e28-ad72-a27b560c15de</guid><dc:creator>teba99</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;We noticed the issue about 3 weeks ago -- the update to that device was listed as &amp;quot;QUEUED&amp;quot; for about&amp;nbsp;2 weeks. Then, a week ago, the device suddenly updated. As far as we know, nothing on our side changed, except that the device was power-cycled three or four times during the 2 weeks for different reasons. The last power cycle seemed to have triggered the OTA.&lt;/p&gt;
&lt;p&gt;The device was working as expected all the time, sending data to the cloud.&lt;/p&gt;
&lt;p&gt;At the core, our application is build on the multi-service example. The OTA job is created and deployed in the nRF Cloud UI. After deploying, the OTA usually is&amp;nbsp;executed by&amp;nbsp;a device within&amp;nbsp;a minute. We have done about 100 OTA updates this way, and they worked fine. It&amp;#39;s just this one device so far that took much longer than expected.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached two screenshots:&lt;/p&gt;
&lt;p&gt;1. The OTA job deployed on Jun 13&lt;/p&gt;
&lt;p&gt;2. The OTA job on Jul 7 it finally succeeded (note: We did another OTA the following day on Jul 8 as a test, that&amp;nbsp;succeeded&amp;nbsp;quickly, as expected).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;-- Terrence&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8713.image-_2800_1_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4503.image-_2800_3_2900_.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542614?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2025 08:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb5c0fab-9d1f-45ad-8959-0a5736a7c108</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Terrence,&lt;br /&gt;&lt;br /&gt;When have you noticed OTA update problem on this particular device? &lt;br /&gt;&lt;br /&gt;With regard to OTA, has device worked as expected before and after the issue appeared?&lt;br /&gt;&lt;br /&gt;Can you provide some details about your OTA procedure?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542446?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 21:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d33841b3-2230-417e-a3f5-dd1793cd4cc3</guid><dc:creator>teba99</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;We&amp;#39;ll try increasing the modem buffer.&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/122839/fota-triggered-with-very-long-delay/542424"]Can you provide more information about turning-off and power-cycling? Is there any relationship between these 2 actions?&lt;br /&gt;Who is turning the devices on/off and power-cycling them?[/quote]
&lt;p&gt;The devices&amp;nbsp;can be turned off or&amp;nbsp;power-cycled for different reasons, by the operator. There should be no difference in the result ... once the device starts running again it connects to nRF Cloud and should execute the OTA, if one is pending.&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/122839/fota-triggered-with-very-long-delay/542424"]&lt;p&gt;Will you be able to provide a log?&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;&lt;blockquote class="quote"&gt;&lt;div class="quote-user"&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;As I said, the log has no information related to the OTA. It just shows the device connecting and then going about its business (collecting and sending data to the cloud). I don&amp;#39;t think it will be useful.&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/122839/fota-triggered-with-very-long-delay/542424"]&lt;p&gt;When did this issue start occurring? Was it a sudden event?&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;&lt;blockquote class="quote"&gt;&lt;div class="quote-user"&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;That&amp;#39;s the weird thing. We are issuing OTA updates to devices often. It works flawlessly almost all the time, except for this one device. It is the same device hardware and software as all the other devices and it is otherwise behaving identical to the other devices -- except for the OTA.&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/122839/fota-triggered-with-very-long-delay/542424"]Did you see this issue only on a single device? Is this issue reproducible on the same device or on other devices?[/quote]
&lt;p&gt;Currently only once and only on one device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;-- Terrence&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542424?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 16:30:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df478816-7e8f-4248-8a3f-f3a653a64282</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Terrence,&lt;/p&gt;
[quote user="teba99"]The symptom is the same as we experience. Maybe we&amp;#39;ll try to increase&amp;nbsp;&lt;span&gt;CONFIG_MODEM_INFO_BUFFER_SIZE and see if that helps.&lt;/span&gt;[/quote]
&lt;p&gt;It would be good to see if increasing buffer size resolves the issue.&lt;/p&gt;
[quote user="teba99"]When the OTA finally did happen, the device was turned off for a few hours, then turned on, and then the OTA suddenly occurred. However, the device was power-cycled before that already several times and the OTA did NOT occur. We haven&amp;#39;t found any pattern or trigger.[/quote]
&lt;p&gt;Can you provide more information about turning-off and power-cycling? Is there any relationship between these 2 actions?&lt;br /&gt;Who is turning the devices on/off and power-cycling them?&lt;/p&gt;
[quote user="dejans"]Can you clarify if you have device log or not? Device log might be helpful. Can you share the log if you have it?[/quote]
&lt;p&gt;Will you be able to provide a log?&lt;/p&gt;
[quote user="dejans"]Can you provide information when this delaying FOTA issue occured?[/quote]
&lt;p&gt;When did this issue start occurring? Was it a sudden event?&lt;/p&gt;
[quote user="dejans"]Did this instance of FOTA update delay happen only once and on a single device?[/quote]
&lt;p&gt;Did you see this issue only on a single device? Is this issue reproducible on the same device or on other devices?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542330?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 08:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:132c72ab-8f5d-4076-8d29-6c08a7ac4a07</guid><dc:creator>teba99</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/dejans"&gt;dejans&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the link. We are&amp;nbsp;capturing device logs on the serial port and in the nRF cloud, but there are no entries related to the OTA update.&amp;nbsp;It&amp;#39;s like the device doesn&amp;#39;t see that an OTA is pending, and there are no errors or warnings either. The device just sits there and operates fine, but never sees the OTA.&lt;/p&gt;
&lt;p&gt;When the OTA finally did happen, the device was turned off for a few hours, then turned on, and then the OTA suddenly occurred. However, the device was power-cycled before that already several times and the OTA did NOT occur. We haven&amp;#39;t found any pattern or trigger.&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/122839/fota-triggered-with-very-long-delay/542096"]&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108321/nrf-cloud-fota-stuck-in-queued"&gt;nRF Cloud FOTA stuck in queued&lt;/a&gt;.[/quote]
&lt;p&gt;The symptom is the same as we experience. Maybe we&amp;#39;ll try to increase&amp;nbsp;&lt;span&gt;CONFIG_MODEM_INFO_BUFFER_SIZE and see if that helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;br /&gt;-- Terrence&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA triggered with very long delay</title><link>https://devzone.nordicsemi.com/thread/542096?ContentTypeID=1</link><pubDate>Thu, 10 Jul 2025 11:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5a614bf-a4c0-40e7-a4ca-0f2695077644</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Maybe you have similar issue as shown in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108321/nrf-cloud-fota-stuck-in-queued"&gt;nRF Cloud FOTA stuck in queued&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Did this instance of FOTA update delay happen only once and on a single device?&lt;/p&gt;
[quote user=""]But in the device log we could see the device is not getting the FOTA notification and therefore does not start&amp;nbsp;the download. The FOTA just stays as &amp;quot;QUEUED&amp;quot; but never changes to &amp;quot;DOWNLOADING&amp;quot;.[/quote][quote user=""]The problem is very difficult to reproduce and we don&amp;#39;t have logs.[/quote]
&lt;p&gt;Can you clarify if you have device log or not? Device log might be helpful. Can you share the log if you have it?&lt;br /&gt;&lt;br /&gt;Can you provide information when this delaying FOTA issue occured?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>