OSError: -1
-
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 ?
Thanks for your help -
I have encountered this. (mainly when using incorrect firmware).
You should also include the stacktrace, so we can see where in umqtt it is occuring.T
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login