<?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>Can&amp;#39;t connect to AWS IoT with the sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96608/can-t-connect-to-aws-iot-with-the-sample</link><description>Hi, 
 Im&amp;#39; trying to connect with my Icarus IoT board to AWS IoT. I used the sample code from the nRF9160: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/networking/aws_iot.html#provisioning-of-the-certificates 
 No errors when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Mar 2023 12:44:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96608/can-t-connect-to-aws-iot-with-the-sample" /><item><title>RE: Can't connect to AWS IoT with the sample</title><link>https://devzone.nordicsemi.com/thread/413532?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 12:44:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25e3d835-4574-41d5-8f23-cf86fffb5519</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Lukas,&lt;/p&gt;
&lt;p&gt;Any progress with your trying?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You need to program &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/applications/serial_lte_modem/README.html"&gt;nRF9160: Serial LTE modem&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/samples/nrf9160/at_client/README.html"&gt;nRF9160: AT Client&lt;/a&gt;&amp;nbsp;in order to use corresponding AT commands for certificate operation.&lt;/p&gt;
&lt;p&gt;After pushing the Update certificates button in CERTIVATE MANAGER, you will see the following command runs on TERIMIAL.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7532.pastedimage1678106634459v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Just let me know if you need more help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to AWS IoT with the sample</title><link>https://devzone.nordicsemi.com/thread/410422?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 15:04:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58e4e525-b6c4-4ecf-a585-63cde374b76a</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the delay, I was on a sick leave for a few days. I will look into it and AWS certificates tomorrow.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to AWS IoT with the sample</title><link>https://devzone.nordicsemi.com/thread/409501?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2023 08:04:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b67fc64-dc48-42a1-a191-564f8d862c72</guid><dc:creator>Lukas Mertens</dc:creator><description>&lt;p&gt;How does the certificates looks when you put it in the program? just for sure i have placed the right &amp;#39;&lt;strong&gt;&amp;quot;&lt;/strong&gt;&amp;#39;or something&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to AWS IoT with the sample</title><link>https://devzone.nordicsemi.com/thread/409500?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 10:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ac792e9-bde1-499e-acbf-267a706159da</guid><dc:creator>Lukas Mertens</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for your anwser!&lt;/p&gt;
&lt;p&gt;i have fixed the issue with the -119 error but now i got 2 more error&amp;#39;s i have looked into the error numbers but don&amp;#39;t understand what the exact problem is.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="481" src="https://i.imgur.com/QjTQJ36.png" width="252" /&gt;&lt;/p&gt;
&lt;p&gt;Also when i&amp;#39;m trying to update my certificates into the LTE monitoring this is not working.&lt;/p&gt;
&lt;p&gt;&lt;img height="376" src="https://i.imgur.com/5emsbIX.png" width="322" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to AWS IoT with the sample</title><link>https://devzone.nordicsemi.com/thread/409499?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 15:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eff02a1-e4d0-4950-a056-f55a32d8d14b</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can find the error numbers &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/lib/libc/minimal/include/errno.h#L104"&gt;here&lt;/a&gt;. There is also some information &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/develop/languages/c/minimal_libc.html#error-numbers"&gt;here&lt;/a&gt;, but without the numbers.&lt;/p&gt;
&lt;p&gt;-119 means EINPROGRESS - Operation now in progress.&lt;/p&gt;
&lt;p&gt;It means that the nRF9160 is trying to connect to AWS, but it does not look like it manages to in this case.&lt;/p&gt;
&lt;p&gt;Have you set up your &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/libraries/networking/aws_iot.html#create-a-thing-in-aws-iot"&gt;policy&lt;/a&gt; correctly? I have found an &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79742/problems-with-programming-device-certificates-from-the-aws-iot-console/330696"&gt;earlier case&lt;/a&gt; where the issue was that the policy wasn&amp;#39;t attached to the certificate properly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>