I’m trying to run ‘Controlled_publish-period’ example program on ESP32 board using Zerynth Studio r2.1.2-base version(Windows 10 OS). I have created a thing/certificate/policies in AWS IoT and connected the thing-certificate-policies. Same information has been entered in thing.conf.json file in the project.
When I uplink the program I get an exception at thing.mqtt.connect().
IOError at line 393 of mqtt.mqtt.connect
raised at line 503 of mqtt.mqtt._connect
raised at line 760 of mqtt.mqtt._handle_connack
raised at line 165 of socket.recv
What could be the reason for this?