<?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 not working on two devices]]></title><description><![CDATA[<p dir="auto">I have set up a handful of WiPy boards to publish data on AWS IoT. I followed the example for the pycom AWS library and standalone, it works. I send a JSON string every 2 s via wifi to an LTE router. In AWS IoT the messages are routed to a DynamoDB. Each board has separate keys which are selected based on the unique ID. On its own, each board works.</p>
<p dir="auto">However, when I connect two boards to the same router, only one transmits data to AWS IoT. The other gives<br />
Socket receive error: -80<br />
Socket send error [Errno 104] ECONNRESET<br />
repeatedly.</p>
<p dir="auto">Now best of all is that this might move from one board to the other - after a while the one with error starts transmitting, while the error occurs on the board previously working (without restart or reconnect). In the AWS IoT MQTT client I see a &quot;last will&quot; message and the reception switches to the other board.<br />
Did anyone manage to use the pycom AWS library for two or more devices simultaneously?</p>
]]></description><link>https://forum.pycom.io/topic/3638/aws-iot-not-working-on-two-devices</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 22:38:01 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/3638.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Aug 2018 13:02:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AWS IoT not working on two devices on Tue, 14 Aug 2018 13:02:16 GMT]]></title><description><![CDATA[<p dir="auto">I have set up a handful of WiPy boards to publish data on AWS IoT. I followed the example for the pycom AWS library and standalone, it works. I send a JSON string every 2 s via wifi to an LTE router. In AWS IoT the messages are routed to a DynamoDB. Each board has separate keys which are selected based on the unique ID. On its own, each board works.</p>
<p dir="auto">However, when I connect two boards to the same router, only one transmits data to AWS IoT. The other gives<br />
Socket receive error: -80<br />
Socket send error [Errno 104] ECONNRESET<br />
repeatedly.</p>
<p dir="auto">Now best of all is that this might move from one board to the other - after a while the one with error starts transmitting, while the error occurs on the board previously working (without restart or reconnect). In the AWS IoT MQTT client I see a &quot;last will&quot; message and the reception switches to the other board.<br />
Did anyone manage to use the pycom AWS library for two or more devices simultaneously?</p>
]]></description><link>https://forum.pycom.io/post/21539</link><guid isPermaLink="true">https://forum.pycom.io/post/21539</guid><dc:creator><![CDATA[Martinnn]]></dc:creator><pubDate>Tue, 14 Aug 2018 13:02:16 GMT</pubDate></item><item><title><![CDATA[Reply to AWS IoT not working on two devices on Tue, 14 Aug 2018 13:28:26 GMT]]></title><description><![CDATA[<p dir="auto">... forgot duplicate CLIENT_ID in <a href="http://config.py" target="_blank" rel="noopener noreferrer nofollow">config.py</a>...<br />
Problem solved!</p>
]]></description><link>https://forum.pycom.io/post/21541</link><guid isPermaLink="true">https://forum.pycom.io/post/21541</guid><dc:creator><![CDATA[Martinnn]]></dc:creator><pubDate>Tue, 14 Aug 2018 13:28:26 GMT</pubDate></item></channel></rss>