Skip to content

Update on custom server not applied #2

@xopr

Description

@xopr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions