We have been working on sending some data on UBIDOTS using MQTT. We have been experiencing some issues related to connection to MQTT server with the following error:
Attempting MQTT connection…failed, rc=-4 try again in 3 seconds
Everything was working fine earlier. Suddenly, today it has started giving this error.
We have tried to connect ESP32 to different networks, but all in vain.