<?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>NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59745/nrf9160-aws-fota-over-https</link><description>I have been reviewing this merge: https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1982 and it appears that there is capability in the fota example to enable https/tls download for the aws fota example. It appears that DOWNLOAD_CLIENT_TLS needs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Apr 2020 11:56:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59745/nrf9160-aws-fota-over-https" /><item><title>RE: NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/244705?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 11:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89535b4b-1e55-4e1d-b5c2-7c65e1dfc7da</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Before investigating this further, have you tested this out with the newest version of NCS master? The changes from&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1982"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1982&lt;/a&gt;&amp;nbsp;are merged into the master.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re not able to make it work with master or if you have to stick with e.g. NCS v1.2.0, I&amp;#39;ll take a closer look at your problem.&lt;/p&gt;
&lt;p&gt;This case may be useful:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58664/nrf9160-fota-over-https"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/58664/nrf9160-fota-over-https&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/243915?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 13:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:096f0549-6d0d-4870-85dc-6dd4d3a06e45</guid><dc:creator>odwraca</dc:creator><description>&lt;p&gt;Thanks Simon, check my latest comment for current status. I have not had the opportunity to troubleshoot much further, but if I do I will post an update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/243825?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 08:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ff7b81d-cba9-4ce4-b87d-881cb33ca7c0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;&lt;span&gt;I am sorry for the delay&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span&gt;The staffing is reduced during easter due to holidays and I will be gone this week, but I will be back Tuesday next week and will look at your ticket then.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/243433?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 14:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b64b4205-65eb-4fb6-bc57-42d366f59cea</guid><dc:creator>odwraca</dc:creator><description>&lt;p&gt;After pulling in&amp;nbsp;some changes from&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1986/files"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1986/files&lt;/a&gt;&amp;nbsp;I was able to build the sample app successfully, but have received the following error.&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pulls?page=3&amp;amp;q=is%3Apr+is%3Aopen"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Still working through to see what happened, but my guess is that the TLS credentials were not setup correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I: Start downloading firmware from &amp;lt;Bucket Name&amp;gt;&lt;/span&gt;&lt;a href="http://aaarcr-zephyr.s3.amazonaws.com/app_update.binI:" rel="noopener noreferrer" target="_blank"&gt;.s3.amazonaws.com/app_update.bin&lt;br /&gt;I:&lt;/a&gt;&lt;span&gt; Attempting to connect over IPv4&lt;br /&gt;&lt;/span&gt;&lt;span&gt;I: Setting up TLS credentials &lt;br /&gt;E: Unable to connect, errno 95&lt;br /&gt;E: Error (-22) when trying to start firmware download&lt;br /&gt;aws_fota_mqtt_evt_handler: Failed! -22[mqtt_evt_handler:239] &lt;br /&gt;MQTT PUBLISH result=0 len=41mqtt_read_publish_payload: Failed! -5&lt;br /&gt;Disconnecting MQTT client...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/243421?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 14:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10dad580-4eaf-41cd-b1fb-87fbdd459cd5</guid><dc:creator>odwraca</dc:creator><description>&lt;p&gt;&lt;span&gt;I have made a very small amount of progress. Realized that the job document was not parsing the https for the aws_fota example, which is why I was able to still successfully update the app via AWS IoT Jobs. That discovery led me to this&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1986/files"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1986/files&lt;/a&gt;&lt;span&gt;&amp;nbsp;- Which I started working through a bit of last night.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just trying to piece it together now based upon some of what sigvart is already trying to accomplish.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Ultimate goal is to perform an aws_fota sample update via https.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/242783?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 19:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bbe9ca8-f008-47ba-9bdd-7ace73a4498c</guid><dc:creator>odwraca</dc:creator><description>&lt;p&gt;I was able to confirm through server logs that even though the job document is set to https it is downloading over http. So it looks like I still have the issue at hand.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Just trying to understand how to set it to download over https based upon that latest merge.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 AWS FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/242754?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 15:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d51d751-1d75-40a1-935f-2d9a67e270bf</guid><dc:creator>odwraca</dc:creator><description>&lt;p&gt;Well, I hope it was not as easy as I think it was...&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I just set the job document to https and submitted the job via the AWS console. The sample app grabbed the update and installed it, reflecting my updates.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am just trying to check logs now to see if it actually downloaded over https....&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I did this based upon the comment in the merge previously mentioned, excerpt is:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&amp;quot;I can probably add the protocol parsing into this PR for&amp;nbsp;&lt;code&gt;aws_fota&lt;/code&gt;&amp;nbsp;library then it&amp;#39;s only enabled if the user has specified in the&amp;nbsp;&lt;strong&gt;job document&lt;/strong&gt;&amp;nbsp;that he wants to use&amp;nbsp;&lt;code&gt;https&amp;quot;&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>