Hi all,
Sorry to disturb the community.
But I am in trouble w/ my OPTA Wifi module when I try to upload sketch from my https server ![]()
To help me, I use in my project the OTA upload from this tutorials :
https://docs.arduino.cc/tutorials/portenta-h7/over-the-air-update/
and
All works well if and only if I use the download link from the tutorials. I mean :
https://downloads.arduino.cc/ota/OTA_Usage_Portenta.ino.OPTA.ota
As soon as I use my own link :
https://ota.ejc-solutions.com/OTA_Usage_Portenta.ino.OPTA.ota
an error -3011 is returned ! See the debug below :
16:12:44.332 -> Starting download to QSPI ...
16:12:45.112 -> Arduino_Portenta_OTA_QSPI::download failed with error code -3011
I tried in Ethernet or Wifi, same behavior, error -3011.
If I set false to is_https from ota.download function (int const ota_download = ota.download(OTA_FILE_LOCATION, false /* is_https */) the OPTA stays blocked to download :
15:41:34.228 -> Starting download to QSPI ...
and not more !
I know that I did a mistake w/ my https link, but where, I don't know. Because when I click on it, it works. The file can be uploaded.
I tried to find the -3011 error but unfortunately, I didn't find anything ![]()
I searched into the utility.cpp from the same tutorial but there is no explanation about this error code. Same situation from the web, I didn't find.
Please, if someone can help me, it will be w/ pleasure ![]()