I'm trying to get my first project to work using the IOT cloud, but keep getting the following error:
Device ID: ff1cd4dc-1ce4-47c0-a22b-71b0490c3bb3
MQTT Broker: mqtts-up.iot.arduino.cc:8884
WiFi status ESP: 255 Connected to "Lochmara" ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to mqtts-up.iot.arduino.cc:8884
ArduinoIoTCloudTCP::handle_ConnectMqttBroker 1 connection attempt at tick time 22532
ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to mqtts-up.iot.arduino.cc:8884
I have done the following:
Deleted all dashboards/ things / everything, and rebuilt from scratch.
I have remarked out all code (except serial println) that I wrote and am just using the code that is automatically generated by the IDE.
I am using an ESP32 dev.
I have read all articles I can find on the issue but am still unable to fix the problem.
I have checked my fire wall and it is set up to allow everything out on all ports.
It connects to the Wifi with no problem.
Any help with this issue would be much appreciated.
Regardless of the board used (ESP32 or ESP8266) the connection is not made, and the Log message is clear, it cannot connect to the MQTT broker through port 8884.
Obviously I can't connect because I don't have the security certificates to use TLS.
The question therefore is how can the connection with the broker be configured to work with port 1883?
don't know friend, might be you are using old library or library with not suitable version. when I encountered this issue I tried to solve it but couldn't so switched my platform, I then done my project on Firebase, u can use ThingSpeak aslo both are good and more stable than Arduino IoT Cloud.
Check your secret key when you are creating your thing, i just noticed that my error was that i was intruducing the wifi key twice, so, the second box is for the secret key that arduino got you when you creathed the new thing
Could you solve your problems? I'm also stuck with not being able to connect to the IoT cloud.
My secret key and device id are correct, so I don't know what else to do.
I'm inclined to give those others a try. It shouldn't be this difficult. Definitely needs some work. At this point it's not making things easier to connect.
Check that the secret key for your Network configuration is set correctly.
There are 3 inputs for Network config.
Your SSID name, SSID Password(WEP) and lastly the Secret key is the key generated by the Arduino cloud service which is unique.