OTA not working with gitlab
Test: use https://gitlab.com/scrobotics/dark-sky-meter/-/package_files/83705936/download in the OTA form. The app panics:
Configuration mode active
web server: POST /ota called
OTA form response 100 -"url=https%3A%2F%2Fgitlab.com%2Fscrobotics%2Fdark-sky-meter%2F-%2Fpackage_files%2F83705936%2Fdownload"-
***ERROR*** A stack overflow in task httpd has been detected.
Core 0 register dump:
MEPC : 0x40382220 RA : 0x40388636 SP : 0x3fc94f90 GP : 0x3fc91e00
0x40382220 - panic_abort
at /home/jorgem/proyectos/dark_sky/dark-sky-meter/.embuild/espressif/esp-idf/release-v4.4/components/esp_system/panic.c:408
0x40388636 - __ubsan_include
at /home/jorgem/proyectos/dark_sky/dark-sky-meter/.embuild/espressif/esp-idf/release-v4.4/components/esp_system/ubsan.c:294
0x3fc94f90 - xIsrStack
at ??:??
0x3fc91e00 - __global_pointer$
at ??:??
TP : 0x3fc6f098 T0 : 0x4005890e T1 : 0x0000000f T2 : 0x00000001
0x3fc6f098 - __eh_frame_hdr
at ??:??
0x4005890e - r_sch_plan_offset_req_hook
at ??:??
0x0000000f - RV_STK_GP
at ??:??
0x00000001 - RV_STK_MEPC
at ??:??
S0/FP : 0x3fc94fb4 S1 : 0x3fc94fb4 A0 : 0x3fc94fb4 A1 : 0x3c1124bc
0x3fc94fb4 - xIsrStack
at ??:??
0x3fc94fb4 - xIsrStack
at ??:??
0x3fc94fb4 - xIsrStack
at ??:??
0x3c1124bc - __func__.4813
at ??:??
A2 : 0x0000000f A3 : 0x3fc94fdf A4 : 0x3fc97210 A5 : 0x3fc97218
0x0000000f - RV_STK_GP
at ??:??
0x3fc94fdf - xIsrStack
at ??:??
0x3fc97210 - g_pm
at ??:??
0x3fc97218 - g_pm
at ??:??
A6 : 0x3fcaf6f0 A7 : 0x3fcb9214 S2 : 0x00001881 S3 : 0x00000001
0x3fcaf6f0 - _static_data_end
at ??:??
0x3fcb9214 - _static_data_end
at ??:??
0x00001881 - _esp_memprot_align_size
at ??:??
0x00000001 - RV_STK_MEPC
at ??:??
I have tried to use ota_find("https://gitlab.com/scrobotics/dark-sky-meter/-/package_files/83705936/download")
in main()
after connecting to the wifi and sometimes works (?).
With HTTP servers the same binary works well. I haven't tried with other HTTPS servers.