<?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>Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109532/difficulty-provisioning-thingy91-to-aws-iot-fleet-provisioning-claim-method</link><description>Dear Team, 
 I am attempting to provision my Thingy91 device to AWS IoT Core using Fleet Provisioning with the Claim method. I&amp;#39;ve been closely following the instructions in the repository &amp;quot; https://github.com/NordicPlayground/aws-iot-core-fleet-provisioning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Apr 2025 14:29:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109532/difficulty-provisioning-thingy91-to-aws-iot-fleet-provisioning-claim-method" /><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/531555?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 14:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e4253d7-40ec-49c9-a7e8-17f52a1889bc</guid><dc:creator>Muneeb ur Rehman</dc:creator><description>&lt;p&gt;Hi Waqar Ahmed ,&lt;br /&gt;Were you able to figure out the issue with the mqtt connect error -128&amp;nbsp;&lt;br /&gt;I am facing the similar issues The same certificates i am using for subscribing or connecting to any other topic it works for connection well&amp;nbsp; however mqtt input error occurs if i try subscribing to the fleet provision&amp;nbsp;&lt;br /&gt;topic ?&lt;br /&gt;&lt;br /&gt;Is there any specific reason for it&amp;nbsp;&lt;br /&gt;Thanks in advance&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/507904?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 11:09:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91138e3d-fc01-4d09-acde-79a0c5eb302a</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Please follow the instructions how how to retrieve more debug information above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/507887?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 09:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9e298fd-b9eb-43c8-9f03-76c7d5c4d520</guid><dc:creator>Waqar Ahmed</dc:creator><description>&lt;p&gt;Hi ltachiVN,&lt;br /&gt;1. I am facing same issue and following the same process and getting the same error.&lt;br /&gt;have you found the reason for this error?&lt;/p&gt;
&lt;p&gt;please let me know&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/475510?ContentTypeID=1</link><pubDate>Sun, 24 Mar 2024 21:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ccb687a-1854-4040-a62c-35b8c6e5ac1a</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Also, please make sure to use the correct secTag when writing the credentials.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/475509?ContentTypeID=1</link><pubDate>Sun, 24 Mar 2024 21:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01c8e5e9-148e-49b7-893a-a518a273157b</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Please consult the AWS IoT Lifecycle events for your device to see what causes the disconnect:&amp;nbsp;&lt;a href="https://docs.aws.amazon.com/iot/latest/developerguide/life-cycle-events.html"&gt;docs.aws.amazon.com/.../life-cycle-events.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/475482?ContentTypeID=1</link><pubDate>Sat, 23 Mar 2024 11:05:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06aaeeb4-e225-498d-8d1e-0e516c81720f</guid><dc:creator>ItachiVN</dc:creator><description>&lt;p&gt;Hello Markus,&lt;br /&gt;Thank you for your prompt reply. I tried to turn off subscribing for all possible topics (shadow + application topics) and comment on all the code that might be published to the AWS IoT but the problem remains &lt;strong&gt;(Cloud MQTT input error: -128)&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;I also&amp;nbsp;read&amp;nbsp;some posts about the &amp;quot;&lt;span&gt;Cloud MQTT input error: -128&amp;quot; and found out there is a high chance there is a problem with the certificate. So I take&amp;nbsp;some other attempts.&lt;br /&gt;&lt;br /&gt;1. I tried and was able to connect to AWS IoT (different regions and credentials) with my Thingy91 to make sure there were no problems with the hardware and cellular connection. &lt;br /&gt;&lt;br /&gt;2. I loaded the claim certificate generated from the workaround to my ESP32 project as well as the fleet provisioning demo using AWS-IOT-SDK-C and was able to make them connect to the AWS IoT. I also go 1 step further by checking the credentials stored inside my thingy91 by comparing the SHA256 of the CA cert, device cert, and private key.&lt;/span&gt;&lt;/p&gt;
&lt;div id="eJOY__extension_root" class="eJOY__extension_root_class"&gt;Could you please help take a look at the following details:&lt;/div&gt;
&lt;div class="eJOY__extension_root_class"&gt;&lt;img class="align-right" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/trace_2D00_wireshark.png" /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/thingy91_5F00_aws_5F00_trace.log"&gt;devzone.nordicsemi.com/.../thingy91_5F00_aws_5F00_trace.log&lt;/a&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3603.device_5F00_log.txt"&gt;devzone.nordicsemi.com/.../3603.device_5F00_log.txt&lt;/a&gt;&lt;br /&gt;Kconfig changes belong with comment all publish/subscribe calls:&lt;/div&gt;
&lt;div class="eJOY__extension_root_class"&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Additional Kconfig options
CONFIG_AWS_IOT_AUTO_DEVICE_SHADOW_REQUEST=n
CONFIG_AWS_IOT_TOPIC_GET_ACCEPTED_SUBSCRIBE=n
CONFIG_AWS_IOT_TOPIC_GET_REJECTED_SUBSCRIBE=n
CONFIG_AWS_IOT_TOPIC_UPDATE_DELTA_SUBSCRIBE=n
CONFIG_MQTT_CLEAN_SESSION=y&lt;/pre&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/475311?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 08:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9d904d4-3557-488b-8111-abedfa02e87b</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Please have a look at &lt;a href="https://github.com/NordicPlayground/aws-iot-core-fleet-provisioning-with-nrf9160?tab=readme-ov-file#security-considerations"&gt;the policy&lt;/a&gt;, it only allows the device to publish and subscribe to a specific topic.&lt;/p&gt;
&lt;p&gt;However, your firmware configuration of aws_iot causes the application to subscribe and publish to other topics as well.&lt;/p&gt;
&lt;p&gt;Because this is not allowed by the provisioning credentials policy, the connection gets terminated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/475250?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 23:47:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ecb143e-46b3-43b8-b605-ed8902d03917</guid><dc:creator>ItachiVN</dc:creator><description>&lt;p&gt;Thank you for the information Markus, from my understanding, it&amp;#39;s just about connecting to AWS using claim credentials and then subscribing and publishing to a specified topic to obtain a new certificate and private key. I&amp;#39;ve connected to AWS using the claim credentials generated from the workaround (&lt;a id="" href="https://github.com/NordicPlayground/aws-iot-core-fleet-provisioning-with-nrf9160"&gt;https://github.com/NordicPlayground/aws-iot-core-fleet-provisioning-with-nrf9160&lt;/a&gt;) using AWS-IOT-SDK-C, but I can&amp;#39;t connect to AWS IoT using the same claim credentials with my thing91 and nRF connect SDK (connection_poll_start failed, error: -119 or&amp;nbsp;Cloud MQTT input error: -128)&lt;/p&gt;
&lt;div id="eJOY__extension_root" class="eJOY__extension_root_class"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty Provisioning Thingy91 to AWS IoT Fleet Provisioning (Claim Method)</title><link>https://devzone.nordicsemi.com/thread/475183?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 14:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51306ce7-9c3a-47b5-b620-651e875dedd1</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;Fleet provisioning requires the device to interact with AWS&amp;#39; provisioning MQTT API:&amp;nbsp;&lt;a id="" href="https://docs.aws.amazon.com/iot/latest/developerguide/fleet-provision-api.html"&gt;https://docs.aws.amazon.com/iot/latest/developerguide/fleet-provision-api.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is not implement in nRF Connect SDK and you have to implement this yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>