-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Our webserver currently seems unable to provide a working link for the OTA mechanism and after loading the ini, it will reboot without applying the new firmware.
Note: HTTP (non-SSL) is not supported, and will return a -301: Can't connect to server error.
Probably it needs a root vertificate (stored as /user.pem, /wiphone.pem or as an internal string with 3 certificates (in this order of lookup), of which one internal seems to be of Let's Encrypt)
Also note that for the custom OTA there is /user_ota.ini.
Most of the problems are reported via esp_log (see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/log.html), primarily log_i, log_d and log_e.
Set the log level by using the Arduino menu Tools>Core Debug Level and listen to the serial port at 500.000 baud.