I think there is an error in the sketch "esp32-deep-sleep-mqtts", at the top you define the MQTT port but then it's hardcoded below, took me some minutes figuring out why it was not connecting to my server.
#define MQTT_PORT 8883
mqtt.setServer(srvip, 8883);
I think there is an error in the sketch "esp32-deep-sleep-mqtts", at the top you define the MQTT port but then it's hardcoded below, took me some minutes figuring out why it was not connecting to my server.
#define MQTT_PORT 8883
mqtt.setServer(srvip, 8883);