Hi,
I am a student and I’m tying to connect to an MQTT broker with ESP32 using the online simulator Wokwi but it doesn’t work (failed with state -2).
source code : https://wokwi.com/arduino/projects/316434364352168512
Is there a problem in the code? Or do I need to be a member of the Wokwi Club to make it work?
Any help will be greatly appreciated.
Thank you