Open anjrew opened 5 years ago
From the time stamps, your server's disconnecting the client immediately after connection, you'll have to get it to provide more info on the exact socket error encountered. In the meantime, you could try a public broker like broker.hivemq.com and see if you still get disconnected.
Hardware:
Board: ESP32 Dev Module IDE name: Arduino IDE Flash Frequency: 80Mhz PSRAM enabled: disabled Upload Speed: 115200 Computer OS: Mac OSX
Description:
When using with the PubSubClient package, errors are thrown.
The error message that is thrown from the ESP32 Serial port is
The message given at the broker when I try to connect is :
When moving around the order in which the "mqttClient.loop()" function fires in the main loop it changes the error.
Debug Messages: