I'm having difficulty connecting my Core Basic to MQTT using UIFlow 2.0. Here are the pertinent code blocks:
When I run it, I get the following error.
umqtt.py line 71. in connectOSerror: -203
Looking at the github, this line is the middle line of this statement for the connection procedure Connect():
if self.user is not None:
sz += 2 + len(self.user) + 2 + len(self.pswd)
msg[6] |= 0xC0
It also references the line of code for this connection block in my setup:
mqtt_client.connect(clean_session=True)
I'm trying to connect to a Mosquitto broker on a raspberry pi that allows anonymous connection (no user/pass). It appears that error stems from the user/pass variables, but they are set as None in the block so why does this even trigger? Regardless, I'm at an impasse here on how to solve the issue. Any help would be appreciated.