Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update on custom server not applied #2

Open
xopr opened this issue Aug 23, 2022 · 0 comments
Open

Update on custom server not applied #2

xopr opened this issue Aug 23, 2022 · 0 comments

Comments

@xopr
Copy link
Contributor

xopr commented Aug 23, 2022

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.

@xopr xopr changed the title Update on custom server triggers -301 error Update on custom server not applied Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant