Q newbie and connection to arduino cloud issue

Hello everyone, as a first test of the device I tried to follow the "Blinking LED from Arduino Cloud" example, also to try "registering" the device in the Cloud.

Background: the board is correctly configured for wifi and connectivity (it pings and resolves public addresses).

As per the manual, I obtained the secret, created the "thing" with the variable suggested by the example, and the related Dashboard. I duplicated the example to have an editable app in which I inserted the secret.

I launched the app and a few seconds later the blue LED turned off and the red one turned on. However, toggling the switch from the dashboard keeps the red one permanently on. On the Cloud page the device appeared as OFFLINE. But when I run the app, the last activity time updates, which is a sign that some board-cloud communication is taking place (e.g.: Last Activity 7 Mar 2026, 23:46:28).

Where am I going wrong? Thanks!

P.S.: the "Blink via UI" example, which creates a local web interface, works fine.

Have you tried again?