<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[AWS IoT topic subscribe callback never called]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am using AWS IoT and I am trying to subscribe to a topic using the package "simple" or the code in the AWS example on pycom website. The subscription seems to be successful and I expect my callback to be called when i publish messages to the topic I subscribed to. I am, of course, able to publish without issues but cannot subscribe.</p>
<p dir="auto">I am testing everything using AWS tools. The integrated web-based client and observing events about "things". When i subscribe, I can see trace of this subscription and the fact it was successful. When i publish, I see my messages in the relative topics.</p>
<p dir="auto">Although I am using "simple" right now, I have tried with both simple and the guide in the pycom documentation. I suspect at this point a misconfiguration from the side of AWS. This issue seems to be silent though. Subscription and publishing is successful! Receiving messages is not.</p>
<p dir="auto">I was wondering if somebody has some advice or some experience to share about this issue.</p>
<p dir="auto">Just to recap:<br />
Certificates are correct<br />
Endpoint is correct<br />
Connection is successful<br />
Publishing is successful<br />
Policy is correct (can subscribe to anything)<br />
Subscription is successful<br />
-&gt; Receiving messages is not successful &lt;-</p>
<p dir="auto"><img src="/assets/uploads/files/1602139734743-2747c45c-24d1-4a4f-95b2-4ca7a4d78f06-image.png" alt="2747c45c-24d1-4a4f-95b2-4ca7a4d78f06-image.png" class=" img-fluid img-markdown" /><br />
any help is appreciated!</p>
]]></description><link>https://forum.pycom.io/topic/6417/aws-iot-topic-subscribe-callback-never-called</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:35:12 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/6417.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Oct 2020 06:49:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AWS IoT topic subscribe callback never called on Thu, 08 Oct 2020 07:05:46 GMT]]></title><description><![CDATA[<p dir="auto">OKAY!</p>
<p dir="auto">The problem has been solved by adding a receive policy to the group the thing belongs to.</p>
<p dir="auto">{<br />
"Effect": "Allow",<br />
"Action": [<br />
"iot:Receive"<br />
],<br />
"Resource": [<br />
"*"<br />
]<br />
}</p>
]]></description><link>https://forum.pycom.io/post/34863</link><guid isPermaLink="true">https://forum.pycom.io/post/34863</guid><dc:creator><![CDATA[fausto.milletari]]></dc:creator><pubDate>Thu, 08 Oct 2020 07:05:46 GMT</pubDate></item></channel></rss>