<?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[OSError: -1]]></title><description><![CDATA[<p dir="auto">Hello everyone, I am currently trying to send sensor values to a IOT platform (Adafruit here), using the umqtt library. I can successfully connect to a wifi before connecting to the MQTT client. When I try do that last take, the following error is raised : OSError: -1. The thing is, it doesn't happen always. Could you someone please me tell me what this means ?Even though I made researches on the internet, none of the answers I found could fulfill me. I can provide you with a piece of code if necessary. I didn't think it would be necessary since I made this work few times before and followed exactly the tutorial, so I guess the issue doesn't come from the code, but maybe from the device or the platform itself ?<br />
Thanks for your help</p>
]]></description><link>https://forum.pycom.io/topic/4871/oserror-1</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 14:35:43 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/4871.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 May 2019 15:03:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OSError: -1 on Mon, 27 May 2019 15:03:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello everyone, I am currently trying to send sensor values to a IOT platform (Adafruit here), using the umqtt library. I can successfully connect to a wifi before connecting to the MQTT client. When I try do that last take, the following error is raised : OSError: -1. The thing is, it doesn't happen always. Could you someone please me tell me what this means ?Even though I made researches on the internet, none of the answers I found could fulfill me. I can provide you with a piece of code if necessary. I didn't think it would be necessary since I made this work few times before and followed exactly the tutorial, so I guess the issue doesn't come from the code, but maybe from the device or the platform itself ?<br />
Thanks for your help</p>
]]></description><link>https://forum.pycom.io/post/28073</link><guid isPermaLink="true">https://forum.pycom.io/post/28073</guid><dc:creator><![CDATA[brossingo]]></dc:creator><pubDate>Mon, 27 May 2019 15:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to OSError: -1 on Tue, 28 May 2019 02:29:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3290">@brossingo</a></p>
<p dir="auto">I have encountered this. (mainly when using incorrect firmware).<br />
You should also include the stacktrace, so we can see where in umqtt it is occuring.</p>
<p dir="auto">T</p>
]]></description><link>https://forum.pycom.io/post/28084</link><guid isPermaLink="true">https://forum.pycom.io/post/28084</guid><dc:creator><![CDATA[timh]]></dc:creator><pubDate>Tue, 28 May 2019 02:29:19 GMT</pubDate></item></channel></rss>