<?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>AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52217/aws-fota-fails-when-using-my-upload-bin-file-for-nrf9160</link><description>Previously I have been successful getting the AWS FOTA update working using the AWS FOTA example project, the example update.bin file and location provided 
 by Nordic for the nrf9160. I did have excellent help from Nordic to get that working. 
 
 Now</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Sep 2019 13:18:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52217/aws-fota-fails-when-using-my-upload-bin-file-for-nrf9160" /><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/212301?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 13:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b79fdbd-2c5a-4c8b-96f7-7a9ed6233054</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Thank you for all the effort. I am happy to help with your documentation process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/212173?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 06:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c686db49-450c-4c28-b86c-241d5e420123</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for testing this at least.&lt;/p&gt;
&lt;p&gt;[quote user="hmichel"][/quote]&lt;/p&gt;
&lt;p&gt;Here is my new policy&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;{&lt;br /&gt;&amp;nbsp; &amp;quot;Version&amp;quot;: &amp;quot;2012-10-17&amp;quot;,&lt;br /&gt;&amp;nbsp; &amp;quot;Statement&amp;quot;: [&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Effect": "Allow",&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Action": "s3:GetObject",&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Resource": "arn:aws:s3:::mynrf9160fwupdatev1/*"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp; ]&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But now the code on the board does not proceed far&lt;/p&gt;
&lt;p&gt;enough to indicate that it is ready for the FOTA update&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then the issue is clearly with the Download Client and the &lt;a href="https://devzone.nordicsemi.com/support-private/support/236098#permalink=497321"&gt;HTTPS settings that you need to configure&lt;/a&gt;.&amp;nbsp; I&amp;#39;m sorry for the inconvenience, but I hope this will solve the issue. And for what it&amp;#39;s worth, this is a huge help for us to improve our documentation.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211938?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 03:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a63c797a-1148-4bd3-8b42-1932cec27d3f</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I tried this policy instead and it got me back to where I was 2 days ago. The FOTA update will&lt;/p&gt;
&lt;p&gt;start but then get stuck in progress&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;{&lt;br /&gt;&amp;nbsp; &amp;quot;Version&amp;quot;: &amp;quot;2012-10-17&amp;quot;,&lt;br /&gt;&amp;nbsp; &amp;quot;Statement&amp;quot;: [&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Effect": "Allow",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Action": "s3:GetObject",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Resource": "arn:aws:s3:::mynrf9160fwupdatev1/*"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Effect": "Allow",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Action": "iot:*",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Resource": "*"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; ]&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1569466826052v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211935?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 01:59:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fc2f307-b451-48cc-8dea-2fef3fce6ebf</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Here is my new policy&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;{&lt;br /&gt;&amp;nbsp; &amp;quot;Version&amp;quot;: &amp;quot;2012-10-17&amp;quot;,&lt;br /&gt;&amp;nbsp; &amp;quot;Statement&amp;quot;: [&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Effect": "Allow",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Action": "s3:GetObject",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Resource": "arn:aws:s3:::mynrf9160fwupdatev1/*"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; ]&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But now the code on the board does not proceed far&lt;/p&gt;
&lt;p&gt;enough to indicate that it is ready for the FOTA update&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1569462880506v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But my original policy&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;{&lt;br /&gt;&amp;nbsp; &amp;quot;Version&amp;quot;: &amp;quot;2012-10-17&amp;quot;,&lt;br /&gt;&amp;nbsp; &amp;quot;Statement&amp;quot;: [&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Effect": "Allow",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Action": "iot:*",&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Resource": "*"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; ]&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;At least allows the code to get ready for the FOTA update&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1569463155752v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211818?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 12:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b16b6f6-1655-4c71-8bd2-0fc8d588261f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Another thing to test before my last comment:&lt;br /&gt;In the AWS FOTA sample documentation, under &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/aws_fota/README.html#prerequisites"&gt;Prerequisites&lt;/a&gt;, you are instructed to add a permissive policy for testing only. Could you try to add a new Policy with the following:&lt;br /&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
    &amp;quot;Version&amp;quot;: &amp;quot;2012-10-17&amp;quot;,
    &amp;quot;Statement&amp;quot;: [
        {
            &amp;quot;Effect&amp;quot;: &amp;quot;Allow&amp;quot;,
            &amp;quot;Action&amp;quot;: &amp;quot;s3:GetObject&amp;quot;,
            &amp;quot;Resource&amp;quot;: &amp;quot;arn:aws:s3:::your_S3_bucket/*&amp;quot;
        }
    ]
} &lt;/pre&gt;&lt;br /&gt;I found this in the &lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/create-manage-jobs.html"&gt;AWS documentaion&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211497?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 10:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9a0942f-f04b-4a7a-b02e-41dab8e07552</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Thank you. That is very clear. I will test later today.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211449?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 07:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34324a63-07b2-4bf4-8508-8a68313634a3</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;There are two different links in use here:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;From &lt;a href="https://firmware.nrfcloud.com/"&gt;https://firmware.nrfcloud.com/&lt;/a&gt;, the link generated for your file is in the format given in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/aws_fota.html#implementation"&gt;job-file example&lt;/a&gt;.&lt;br /&gt;&lt;strong&gt;http&lt;/strong&gt;://s3.amazonaws.com/nordic-firmware-files/fcb2394f-49cf-4d66-826c-b5f2d04828b3&lt;br /&gt;An image from my account on nRF Cloud:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-2e525fe5abf64b04b54dc55dae54363d/pastedimage1569310723332v1.png" alt=" " /&gt;&lt;/li&gt;
&lt;li&gt;From&amp;nbsp;&lt;a href="https://s3.console.aws.amazon.com/"&gt;https://s3.console.aws.amazon.com&lt;/a&gt;, the link to your file will have this format:&lt;br /&gt;&lt;strong&gt;https&lt;/strong&gt;://[USERNAME].s3.eu-north-1.amazonaws.com/update.bin&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-2e525fe5abf64b04b54dc55dae54363d/pastedimage1569311015394v2.png" alt=" " /&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As our sample does not support HTTPS out-of-box,&amp;nbsp;it is not sufficient to change the protocol in the job file to &amp;quot;HTTPS&amp;quot; when trying to download from AWS S3. You must&amp;nbsp;follow the instructions given in &lt;strong&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/download_client.html#https"&gt;this link&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please try this solution,&amp;nbsp;&lt;/strong&gt;and let me know how this works for you.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211408?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 05:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b346ae9c-6aa7-4cae-aebb-7febeade789b</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;The following snapshot shows a comparison of the printfk statements when running the Nordic example of the AWS FOTA update on the left and my example using my image stored in an AWS S3 bucket on the right.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1569301469858v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211402?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 03:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5e62667-e063-4132-a70c-1bf90dec979a</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Thanks for the update. Right now my json file is set to HTTP and the FOTA using a FW image I am hosting on AWS is still failing. As I mentioned above the FOTA starts and then hangs. See the text cut from the terminal window below: Note that I have added some printfk statements to the aws_fota.c and you will see them in the output&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;***** Booting Zephyr OS v1.14.99-ncs2 *****&lt;br /&gt;The MQTT AWS Jobs FOTA Sample Start Image&lt;br /&gt;nrf_inbuilt_key_delete(16842753, 0) =&amp;gt; result=0&lt;br /&gt;nrf_inbuilt_key_delete(16842753, 1) =&amp;gt; result=0&lt;br /&gt;nrf_inbuilt_key_delete(16842753, 2) =&amp;gt; result=0&lt;br /&gt;nrf_inbuilt_key_write =&amp;gt; result=0&lt;br /&gt;nrf_inbuilt_key_write =&amp;gt; result=0&lt;br /&gt;nrf_inbuilt_key_write =&amp;gt; result=0&lt;br /&gt;LTE Link Connecting ...&lt;br /&gt;LTE Link Connected!&lt;br /&gt;IPv4 Address 0x072adf12&lt;br /&gt;client_id: My_nRF9160_Brd01B&lt;br /&gt;aws_fota_init&lt;br /&gt;construct_notify_next_topic&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;update_device_shadow_version&lt;br /&gt;[mqtt_evt_handler:129] MQTT client connected!&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;[mqtt_evt_handler:194] SUBACK packet id: 2112&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;[mqtt_evt_handler:184] PUBACK packet id: 31846&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;aws_fota_on_publish_evt&lt;br /&gt;publish_get_payload&lt;br /&gt;publish_get_payload mqtt_read_publish_payload_blocking&lt;br /&gt;construct_job_id_update_topic&lt;br /&gt;construct_job_id_update_topic&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;[mqtt_evt_handler:199] default: 8&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;update_job_execution&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;[mqtt_evt_handler:184] PUBACK packet id: 12393&lt;br /&gt;aws_fota_mqtt_evt_handler&lt;br /&gt;aws_fota_on_publish_evt&lt;br /&gt;publish_get_payload&lt;br /&gt;publish_get_payload mqtt_read_publish_payload_blocking&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/211304?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 13:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:502936be-bc2f-4371-85ee-02cc2f80b625</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;The issue seems to be with what a described in &lt;a href="https://devzone.nordicsemi.com/support-private/support/236098#permalink=495499"&gt;this answer&lt;/a&gt;&amp;nbsp;regarding HTTPS. You need to configure the Download Client to support HTTPS, as &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/net/aws_fota.html#limitations"&gt;the limitations&lt;/a&gt; states:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Currently, the library only uses HTTP for downloading the firmware. It is, however, possible to have it work with HTTPS - see&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/download_client.html#lib-download-client"&gt;&lt;span&gt;Download client&lt;/span&gt;&lt;/a&gt;. These changes need to be applied to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/net/fota_download.html#lib-fota-download"&gt;&lt;span&gt;Firmware over-the-air download&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;to enable downloading firmware through HTTPS.&lt;/li&gt;
&lt;li&gt;The library requires content-range header to be present in the HTTP response from the server. This limitation is inherited from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/download_client.html#lib-download-client"&gt;&lt;span&gt;Download client&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;which is used by&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/net/fota_download.html#lib-fota-download"&gt;&lt;span&gt;Firmware over-the-air download&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210690?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 11:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:685b724c-b2ca-4d86-8ad0-4a14961f53b6</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I would say there is not a change in download speed. I would say that after waiting several minutes for the download for my update.bin in my s3 bucket the download is stuck and therefore failed.&lt;/p&gt;
&lt;p&gt;The &amp;quot;Nordic provided update.bin&amp;quot; is the one referred to in the AWS FOTA library example. I use that as a reference because I can always run that update successfully.&lt;/p&gt;
&lt;p&gt;So when my FOTA update fails i rerun the example FOTA from Nordic to make sure there is not some other problem like a lost cell signal or something else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210674?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 10:36:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30cfd775-1c7f-4c0b-ae88-8d0cb8489500</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="hmichel"]Thank you for the help. Especially since you are not at the office[/quote]
&lt;p&gt;&amp;nbsp;No problem! We are here to help&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user="hmichel"]in both cases the interaction starts when I start the job but then hangs even though I wait several minutes see screen below[/quote]
&lt;p&gt;Getting the default: 8 would indicate that your AWS Job has triggered and download started (from what I get here as well). Not sure what causes the difference in download speed. Did you reset the board before the download was complete?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;2019-09-19T09:18:02.259Z DEBUG modem &amp;lt;&amp;lt; [mqtt_evt_handler:129] MQTT client connected!\x0D
2019-09-19T09:18:02.460Z DEBUG modem &amp;lt;&amp;lt; [mqtt_evt_handler:194] SUBACK packet id: 2112\x0D\x0A
2019-09-19T09:18:02.588Z DEBUG modem &amp;lt;&amp;lt; [mqtt_evt_handler:184] PUBACK packet id: 42170\x0D\x0A
2019-09-19T09:19:58.088Z DEBUG modem &amp;lt;&amp;lt; [mqtt_evt_handler:199] default: 8\x0D
2019-09-19T09:19:58.802Z DEBUG modem &amp;lt;&amp;lt; [mqtt_evt_handler:184] PUBACK packet id: 30909\x0D\x0A
2019-09-19T09:23:10.104Z DEBUG modem &amp;lt;&amp;lt; [mqtt_evt_handler:184] PUBACK packet id: 59531\x0D\x0A
2019-09-19T09:23:10.650Z DEBUG modem &amp;lt;&amp;lt; [mqtt_evt_handler:184] PUBACK packet id: 63819\x0D\x0A
2019-09-19T09:23:10.708Z DEBUG modem &amp;lt;&amp;lt; AWS_FOTA_EVT_DONE, rebooting to apply update.\x0D\x0A
2019-09-19T09:23:10.710Z DEBUG modem &amp;lt;&amp;lt; ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-1276-g4493a423a645 *****\x0D\x0A
2019-09-19T09:23:10.712Z DEBUG modem &amp;lt;&amp;lt; [00:00:00.008,056] \x1B[0m&amp;lt;inf&amp;gt; mcuboot: Starting bootloader\x1B[0m\x0D\x0A
2019-09-19T09:23:10.715Z DEBUG modem &amp;lt;&amp;lt; [00:00:00.016,235] \x1B[0m&amp;lt;inf&amp;gt; mcuboot: Primary image: magic=good, swap_type=0x2, copy_done=0x1, image_ok=0x1\x1B[0m\x0D\x0A
2019-09-19T09:23:10.719Z DEBUG modem &amp;lt;&amp;lt; [00:00:00.028,808] \x1B[0m&amp;lt;inf&amp;gt; mcuboot: Scratch: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3\x1B[0m\x0D\x0A
2019-09-19T09:23:10.764Z DEBUG modem &amp;lt;&amp;lt; [00:00:00.040,802] \x1B[0m&amp;lt;inf&amp;gt; mcuboot: Boot source: none\x1B[0m\x0D\x0A
2019-09-19T09:23:10.805Z DEBUG modem &amp;lt;&amp;lt; [00:00:00.047,729] \x1B[0m&amp;lt;inf&amp;gt; mcuboot: Swap type: test\x1B[0m\x0D\x0A
2019-09-19T09:23:34.230Z DEBUG modem &amp;lt;&amp;lt; [00:00:23.606,658] \x1B[0m&amp;lt;inf&amp;gt; mcuboot: Bootloader chainload address offset: 0xc000\x1B[0m\x0D\x0A
2019-09-19T09:23:34.279Z DEBUG modem &amp;lt;&amp;lt; [00:00:23.614,196] \x1B[0m&amp;lt;inf&amp;gt; mcuboot: Jumping to the first image slot\x1B[0m\x0D\x0A
2019-09-19T09:23:34.322Z DEBUG modem &amp;lt;&amp;lt; ***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-1276-g4493a423a645 *****\x0D\x0A&lt;/pre&gt;&lt;/p&gt;
[quote user="hmichel"]I then followed up with trying the Nordic provided update.bin and a json file that pointed to that file.[/quote]
&lt;p&gt;&amp;nbsp;Can you please elaborate, I&amp;#39;m not sure what you mean with &amp;quot;Nordic provided update.bin&amp;quot;. The json file example in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/net/aws_fota.html#implementation"&gt;AWS FOTA library&lt;/a&gt;&amp;nbsp;includes a path to another nRFCloud page. You need to edit the host and path to reflect your cloud. The host and path in the example point to another nRFCloud account, which is a bug.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been trying with AWS S3 bucket address, without luck as well.&lt;br /&gt;&lt;br /&gt;Tests are ongoing, and will keep you posted.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210567?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 01:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:497ee35d-5592-421f-85ca-14310a371600</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I then followed up with trying the Nordic provided update.bin and a json file that pointed to that file.&lt;/p&gt;
&lt;p&gt;The update started and completed within 2 minutes of initiating the job&lt;/p&gt;
&lt;p&gt;Then the update ran on the board and the green LED turned on which indicates that the update was successful because the update.bin code will turn on that LED&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210565?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 01:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:224d4733-d535-4eff-b956-5648ff7c5fef</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I updated to Modem version 1.0.1&lt;/p&gt;
&lt;p&gt;Then I ran the update using the http prefix in the json file&lt;/p&gt;
&lt;p&gt;Then I ran the update using the https prefix in the json file&lt;/p&gt;
&lt;p&gt;in both cases the interaction starts when I start the job but then hangs even though I wait several minutes see screen below&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568855674891v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210391?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 12:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f35d25d-ba1c-4a9d-abff-8736247b944d</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I will update to V1.0.1 today. Thank you for the help. Especially since you are not at the office&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210283?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 07:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67ab60f5-4ce2-4be2-b646-041bda0c6884</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for the update. First of all, please update your modem version to v1.0.1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am currently not able to test the setup, as I am out of the office. Will get back to you within tomorrow.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210254?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 02:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:161b0cc7-6093-4e98-9e67-ef538a861760</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;When I change the prefix from HTTPS to HTTP the process starts as before and then get stuck in the &amp;quot;In Progress&amp;quot; state.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568775306362v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also after I cancel the job there is no log file in my logging S3 bucket but there was one&lt;/p&gt;
&lt;p&gt;when the prefix was HTTPS&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210253?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 02:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7826c2-1018-4150-a906-ee97ae5de017</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Dear&amp;nbsp;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1.5em;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&amp;Oslash;yvind&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The NCS version is 1.0.0&lt;/p&gt;
&lt;p&gt;The Modem Firmware is 1.0.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/210230?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 19:41:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62bc696e-3a8f-4e51-9b4f-4535042fac31</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;First of all, what version of NCS are you running and what is current modem FW?&lt;/p&gt;
&lt;p&gt;I see that you have configured your job file for an HTTPS address. Have you configured this accordingly as described&amp;nbsp;in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.0.0/nrf/include/download_client.html#download-client"&gt;download client&lt;/a&gt;? In the original job file example shown in AWS FOTA library, the address points to a nRFCloud address using HTTP.&lt;/p&gt;
&lt;p&gt;Error message -57 is defined as follows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ENOTCONN 57     /* Socket is not connected */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/209960?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 02:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c096ce4-d4ad-44ec-91f5-ed9b62a9317f</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;Just for verification I tried the AWS FOTA using the Nordic test image. That still works correctly. Then when I tried&lt;/p&gt;
&lt;p&gt;my image I get the same problem. The job starts, then gets stuck, then fails see screen shot&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568688616944v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS FOTA fails when using my upload.bin file for nrf9160</title><link>https://devzone.nordicsemi.com/thread/209954?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 00:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aa141a6-597d-44a0-ad33-1ef21f752d72</guid><dc:creator>hmichel</dc:creator><description>&lt;p&gt;I retried the sequence again and I get a slightly different response and also I get log files which I did not get before&lt;/p&gt;
&lt;p&gt;see the screen shots below&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568678380433v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568678452494v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>