Failure to connect to IoT cloud

Hi there,
I am have written a very basic sketch that reads the value of a sensor every x seconds, and updates a variable connected to my cloud dashboard every 60 seconds. All is based on the standard template created by the web editor.

I am using a Wemos D1 mini Pro (ESP 8266).
The device ID used in the sketch is correctly set, as well the device key (in the thingProperties.h).
It connects to the Wi-Fi correctly, states that it will be using the MQTT Broker: mqtts-up.iot.arduino.cc:8884.
However the device is always reported Offline, and after a while the Serial Monitor spits an error: ArduinoIoTCloudTCP::handle_SubscribeDeviceTopic could not subscribe to /a/d/<device login name>/e/i
followed by: ArduinoIoTCloudTCP::handle_Disconnect MQTT client connection lost

I tried to find something on the Internet about this error, but couldn't find either the root cause or how to fix it.

Has anybody encountered the same problem? And possibly fixed it?

Kind regards,
Max

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.