<?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_IoT mqtt_connect,error: -111</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78555/aws_iot-mqtt_connect-error--111</link><description>Hello, 
 I am trying to program and use the AWS IoT example to send data to the amazon webserver. I worked through this post ( https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/software-and-protocols/posts/connecting-to-aws-cloud-services-using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Aug 2021 07:58:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78555/aws_iot-mqtt_connect-error--111" /><item><title>RE: AWS_IoT mqtt_connect,error: -111</title><link>https://devzone.nordicsemi.com/thread/325026?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 07:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21017b5a-f6fa-4cd0-a572-520374effae5</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Yes, they are absolutely needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS_IoT mqtt_connect,error: -111</title><link>https://devzone.nordicsemi.com/thread/324988?ContentTypeID=1</link><pubDate>Sun, 15 Aug 2021 18:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21089289-2ed0-402a-8b9f-2b91308f5a1d</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;I found the problem actually it was quite basic.&amp;nbsp; When I added the certificates I had removed the&amp;nbsp;-----BEGIN RSA PRIVATE KEY----- and&amp;nbsp;-----END RSA PRIVATE KEY----- portions as I thought the certificate was only comprised on the information between these two strings.&amp;nbsp; I added them again without cutting anything out and was able to connect to AWS, so this seems to have been the issue!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS_IoT mqtt_connect,error: -111</title><link>https://devzone.nordicsemi.com/thread/324965?ContentTypeID=1</link><pubDate>Sun, 15 Aug 2021 12:58:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7973699d-09d8-40d0-a99c-d542c0cf21cf</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Can you double check that the AWS IoT thing was assigned the policy, as outlined in step 11 &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/aws_fota/README.html#creating-a-thing-in-aws-iot"&gt;here&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS_IoT mqtt_connect,error: -111</title><link>https://devzone.nordicsemi.com/thread/324901?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 19:03:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3785e147-3d62-4c67-96bb-fd66e9fafc88</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;Hello, here are the logs:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/AT_2B00_CFUNoutput.txt"&gt;devzone.nordicsemi.com/.../AT_2B00_CFUNoutput.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using NCS V1.6.0.&lt;/p&gt;
&lt;p&gt;My 9160DK has the firmware 1.3.0 from the 2021-06-25_7a076c22 download.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also I should note that I have successfully connected with asset tracker to the nRF cloud website, the LTE device/SiM are verified on the site, and asset tracker was able to update a simulated flip by toggling switch 1 on the 9160DK so this seems to point to an issue with the AWS connection.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also tried checking the certificates by adding&amp;nbsp;CONFIG_AT_CMD_RESPONSE_MAX_LEN=2560 to the prj.config file and then running the AT%CMNG=1 command and got this response:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/logCertificateCheck.txt"&gt;devzone.nordicsemi.com/.../logCertificateCheck.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AWS_IoT mqtt_connect,error: -111</title><link>https://devzone.nordicsemi.com/thread/324798?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 10:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e425470-89e1-40e9-a1bd-5a3b4373865b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you share a full log output with output from &amp;quot;AT+CFUN?&amp;quot;. What version of NCS are you working with?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>