Hi, I have the same problem using arduino nano esp32. It says
Security update required. Please upload your sketch on the board to apply the latest security patches. I also got notified by email. Anyway when I upload the sketch to the board through arduino cloud editor while my device is attached to the thing it actually compile and upload the sketch. Unfortunately it doesnt change my status of the arduino board. I also tried to delete the device and then add it as a new one. Neither that work in my case.
Appreciate any help.
When I go to the setup of the thing after uploading the sketch it actually shows me this error at the bottom of the page:

Yes, all IoT cloud users got an email from Arduino in the last couple days regarding the need to do a security update. I will post the crucial part here.
When I click the Update link this is what I see
Hi @jozef_moli. I'm going to ask you to provide the full verbose output from a compilation of your Arduino Cloud Thing sketch.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Open your Thing sketch in Arduino Cloud Editor, just as you did before when you uploaded it.
- Click the "Settings" icon at the bottom left corner of the page:
The "Settings" panel will open. - Select the "Verbose output" radio button under the "Console verbosity" section of the "Settings" panel.
- Click the ✓ button in the Cloud Editor toolbar.
- Wait for the compilation to finish.
- If the black "Console" panel at the bottom of the Cloud Editor page is minimized, click the ˄ icon at the right side of the "Console" toolbar to expand it.
- Click the icon in the top right corner of the black "Console" panel at the bottom of the Cloud Editor page that looks like two pieces of paper ("Copy Console Output"):
- Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here.
Click here for attachment instructions
- Open any text editor program.
- Paste the copied output into the text editor.
- Save the file in
.txtformat. - Open a forum reply here by clicking the "Reply" button.
- Click the "Upload" icon (
) on the post composer toolbar:
The "Open" dialog will open. - Select the
.txtfile you saved from the "Open" dialog. - Click the "Open" button.
The dialog will close. - Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
Unfotunately the output is too big and I cannot upload it as a file because I am a new user.
Any other suggestions?
Please try again. I see you have now earned the "basic" trust level with the forum software. You are allowed to make attachments at that trust level.
nano.txt (370.1 KB)
Here it is. Its really a big file. Hope you will find a solution. Thank you in advance.
Thanks! This was the information I was interested in:
I had a hypothesis that the problem might have been caused by your sketch being configured to use an older version of the "ArduinoIoTCloud" library. The security update requires the latest version of the library. However, I can see now that your sketch is correctly using the latest version of the library, so this information disproves my hypothesis. So we now move on to investigating another potential cause:
Please try this troubleshooting procedure and then then report back here with the results:
This procedure is not intended to solve the problem. The purpose is to gather more information.
- Connect the Arduino board to your computer with a USB cable.
- Start Arduino Cloud Agent if it is not already running.
- If you are not already, log in to your Arduino account:
https://login.arduino.cc/login - Click the following link to open the list of your Arduino Cloud Things in the web browser:
https://app.arduino.cc/things - Click the name of the Thing.
The "Setup" page for the Thing will open. - Select the "Sketch" tab at the top of the page.
The "Sketch" page for the Thing will open. - Wait for the USB symbol icon to appear on the Arduino Cloud Editor toolbar, indicating the serial port of your board is recognized.
- If the cloud shaped icon ("Over-The-Air") is selected on the Cloud Editor toolbar, click the USB symbol icon.
ⓘ This configures Cloud Editor to communicate with the Arduino board via the serial port instead of the OTA port. - Press and release the reset button on the Nano ESP32 board.
- Immediately click on "Serial Monitor" in the Cloud Editor toolbar.
A Serial Monitor window will open.
You should now see information about the progress of the Thing initialization printed in the window.
If the board is able to connect to your Wi-Fi access point, you should see a message like this:
Connected to "some-ssid"
(where some-ssid is the SSID of the access point)
After that, if the board is able to connect through the Internet to the Arduino Cloud servers, you should see this message:
Connected to Arduino IoT Cloud
Was the Thing initialization successful as I described? Or did you instead see some error message in Serial Monitor?
Please let me know if you have any questions or problems while following those instructions.
Thank you for the clear instructions. I have done as you described and this is what my serial monitor show:
***** Arduino IoT Cloud - 2.3.1 *****
Device ID: d85db773-f2d4-4607-b26e-00b3f442a8f6
MQTT Broker: iot.arduino.cc:8884
WiFi.status(): 255
Connection to "WLAN_IoT" failed
Retrying in "4000" milliseconds
Connected to "WLAN_IoT"
TimeServiceClass::getRemoteTime cannot get time from NTP, fallback on connection handler
TimeServiceClass::getRemoteTime cannot get time from connection handler
ArduinoIoTCloudTCP::handle_SyncTime could not get valid time. Retrying now.
Later on these 3 sentences were just repeating:
TimeServiceClass::getRemoteTime cannot get time from NTP, fallback on connection handler
TimeServiceClass::getRemoteTime cannot get time from connection handler
ArduinoIoTCloudTCP::handle_SyncTime could not get valid time. Retrying now.
It appears your network is not connected to the internet.
I am facing the same problem. Arduino Opta continues to be marked as not updated and cannot connect to the cloud. The problem has two parts:
- USB driver is not actually provided by the manufacturer. (If I am wrong, please, give me the URL to download). This was true since Windows 10 and consists to be true in Windows 11. When I try to update following the manufacturers directions I am prohibited by Windows, which inform me that I have the latest version. Windows itself shows the proper label "USB serial port" when I look at the respective COM port but it complains that there is not driver software installed. That's an obvious contradiction. When I try to load (verify) the sketch via Arduino Cloud I get the loading messages in red and I get the messahe that there is no USB port with DFU ability. The only way to solve it (the same as in Windows 10) is to fix it by a third-party solution (Zadig - USB driver installation made easy). After that, loading (verification) proceeds normally showing the messages in the expected blue instead of red.
- However, the Arduino Cloud still regards the Arduino Opta as needing a security update. Trying to open the serial monitor I get the message that no device exists connected in the serial port. How is that possible as long as I can perform check and verify at the same port one minute earlier? Something very bad is happening here.
Can someone from the Arduino Team help me? I am in a very crucial point of an innovation and ARduino Opta is now a sudden obstacle.
this is also the same problem i am having, did you find a solution?
You might want to try Tools —> Firmware Updater. I was able to get the security patch installed that way on a MKR1010.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.






