-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Assignees
@dido18
Description
Motivation
When the board is booted the first time, the update always fails. After the first restart, the update works as expected.
Error in the AppLab:
Image
Error in the Console log:
Error: {"details":"Error checking for upgradable packages: no internet connectivity"}
Root cause
Before doing a system update, Arduino App CLI checks the internet connectivity by performing a HEAD https://download.arduino.cc
The check fails with the error:
"Head \"https://downloads.arduino.cc/[\](https://downloads.arduino.cc//)": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025年09月09日T09:03:56Z is before 2025年10月28日T08:59:20Z
This TLS verification fails because the board does not have the internal clock updated. This causes the TLS verification to fail.
Possible solution
- add retries
- force the board to update the datetime (when? at first startup? every time an update check?).