<?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>Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122740/unable-to-connect-to-aws-iot-via-mqttx</link><description>Hello 
 I&amp;#39;m currently trying to connect to an AWS IoT Core broker using the MQTTX client. I&amp;#39;m generating the necessary certificates through the CreateTeamDevice API endpoint, which provides the client ID and the certificate files. 
 
 I am serving the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Aug 2025 13:46:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122740/unable-to-connect-to-aws-iot-via-mqttx" /><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/544662?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2025 13:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5a71e5d-adfd-4745-8573-60755b7a6634</guid><dc:creator>Cole Hafner</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Avgerinos,&lt;br /&gt;&lt;br /&gt;What topic are you subscribing to? The client will be disconnected when subscribing to unauthorized topics. It sounds like this may be what is going on. Are you using the mqtt prefix ie prod/&amp;lt;team-id&amp;gt;?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cole&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/544293?ContentTypeID=1</link><pubDate>Fri, 01 Aug 2025 09:57:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd7ffb48-0cde-4b4d-bc8d-42e09ff1dc55</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;We will look into this. I expect to get back to you by the end of next week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/544174?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 07:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95089894-ab42-4e38-9950-e1f240591af4</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;No, I have not tried the AWS IoT sample.&lt;/p&gt;
&lt;p&gt;I am sorry for the misunderstanding, my main goal is to connect my computer as an MQTT client to the nrf Cloud in order to get the messages from other devices (nRF9160).&lt;/p&gt;
&lt;p&gt;My setup is that I already have a number of nRF9160 devices connected to the nRFCloud, that already send messages. I would like to connect my computer as an MQTT client to the nRFCloud in order to get all those messages to my computer. As you can see in the following picture.&lt;img style="max-height:174px;max-width:493px;" height="174" src="https://devzone.nordicsemi.com/resized-image/__size/986x348/__key/communityserver-discussions-components-files/4/pastedimage1753947435819v1.png" width="493" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In order to do the above I have tried to use the CreateTeamDevice&amp;nbsp;From the website:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a id="i1" href="https://api.nrfcloud.com/?__hstc=8439722.b9e2e265ffc7f22c31a0bc22eaebe024.1741268730260.1753883916243.1753944636317.146&amp;amp;__hssc=8439722.5.1753944636317&amp;amp;__hsfp=397633322"&gt;https://api.nrfcloud.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="124" src="https://devzone.nordicsemi.com/resized-image/__size/854x248/__key/communityserver-discussions-components-files/4/pastedimage1752840839912v3.png" width="427" /&gt;&lt;/p&gt;
&lt;p&gt;Moreover, I have followed the next steps.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:310px;max-width:347px;" height="310" src="https://devzone.nordicsemi.com/resized-image/__size/694x620/__key/communityserver-discussions-components-files/4/pastedimage1753947689375v2.png" width="347" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the following pictures I am trying to connect to the MQTT using the steps described above, but with no success.&lt;/p&gt;
&lt;p&gt;Here is the setup of the MQTT client on my computer.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:241px;max-width:504px;" height="241" src="https://devzone.nordicsemi.com/resized-image/__size/1008x482/__key/communityserver-discussions-components-files/4/pastedimage1753947719396v4.png" width="504" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the next picture I am getting the certificates.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:286px;max-width:508px;" height="286" src="https://devzone.nordicsemi.com/resized-image/__size/1016x572/__key/communityserver-discussions-components-files/4/pastedimage1753947799744v5.png" width="508" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After the above steps my MQTT client can not connect to the nRFCloud.&lt;/p&gt;
&lt;p&gt;Do you know if I skip any step or do you have any guidelines on how I can achieve that?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/542899?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2025 15:14:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fded8de0-922f-4b77-b156-94e4b7b74d72</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="dejans"]Can you test your connection to AWS IoT using&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/aws_iot/README.html"&gt;AWS IoT sample&lt;/a&gt;? To be able to connect to AWS IoT, please follow the steps shown in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/aws_iot/README.html#setup"&gt;Setup&lt;/a&gt;&amp;nbsp;section.[/quote]
&lt;p&gt;Have you tried AWS IoT sample? What was the result?&lt;br /&gt;&lt;br /&gt;Could your client previously at any point connect to AWS IoT Core? Have you tried to use some other client for testing?&lt;br /&gt;&lt;br /&gt;You can also look at &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-7-fota-over-wi-fi/"&gt;FOTA over Wi-Fi&lt;/a&gt; exercise (which uses AWS-IoT) for checking that you did not omit any required steps.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/542861?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2025 12:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f454a476-0d38-4ebb-976d-0015086a64a5</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Let me explain what I mean better.&lt;/p&gt;
&lt;p&gt;From the website: &lt;a id="i1" href="https://api.nrfcloud.com/"&gt;https://api.nrfcloud.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="124" src="https://devzone.nordicsemi.com/resized-image/__size/854x248/__key/communityserver-discussions-components-files/4/pastedimage1752840839912v3.png" width="427" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I want to use the creating device end point, to create a project / client that will monitor all the events from the device to nRFCloud.&lt;/p&gt;
&lt;p&gt;I have use this API and I have getting the certificates but I can not connect to the MQTT, I am getting authorization error as I explain above.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/541672?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2025 16:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2846ffe4-6814-478e-9858-28bb8d5f81cf</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Can you test your connection to AWS IoT using&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/aws_iot/README.html"&gt;AWS IoT sample&lt;/a&gt;? To be able to connect to AWS IoT, please follow the steps shown in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/aws_iot/README.html#setup"&gt;Setup&lt;/a&gt;&amp;nbsp;section.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/541564?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2025 07:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9af84b14-4a86-4fee-be80-be6bfc54f2e4</guid><dc:creator>Avgerinos89</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have also tried it using pem file with the same results.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Connect to AWS IoT via MQTTX</title><link>https://devzone.nordicsemi.com/thread/541486?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 14:10:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27a3e099-d998-4f76-81c9-98c13742ac53</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Which format should your Client Certificate File have? In your screenshot Client Certificate File is client-cert.pfx.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>