MQTT Exception when connecting to a local broker
-
Hi all,
I am trying to publish MQTT data to a mosquitto broker running locally on my network (running on a different machine) from a fipy module (placed on a pyscan board, connectted to Atom in ubuntu 20.04) and I get the below error. Any suggestions/ pointers will be highly helpful.

I could follow the tutorial [1] and the could successfully connect and send data to io.adafruit.com, but I don't know why it fails to connect to the broker in the network. I am also able to connect other boards (e.g: arduino based) to the broker in the local n/w.
The screenshots of the micropython code in atom, and what happens on the broker side, are also given below.


Thanks very much for your valuable time.
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