Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

OSError: -1
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

OSError: -1

by briceabane on Mon May 27, 2019 10:17 am

Hello everyone,
I am currently working on a project which involves sending sensor values to my dashboard on Adafruit. However, when it comes to the point to connect to my MQTT client using the umqtt library, I get the following error : OSError: -1. I couldn't find anything on the internet and this issue never apperaed when connecting to Thingsboard. Does anyone know what it is due to ? Furthermore, this appeared for the first time and used to work before. I can successfully connect to my wifi prior to MQTT Client though.
Thanks

briceabane
 
Posts: 2
Joined: Tue Jan 15, 2019 9:33 am

Re: OSError: -1

by brubell on Tue May 28, 2019 10:21 am

Could you post more of your output and your code showing connection details?

You may want to check out the MicroPython/AdafruitIO repository on GitHub (note: this is not an official adafruit repository): https://github.com/miketeachman/micropy ... tt-esp8266

brubell
 
Posts: 937
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.