I made a search for the Cloud OTA problem, i found TI has an annoument for the Dropbox OTA broken issue.
I found similar issue for the Github too. Can TI confirm this problem? And will this be fixed too?
e2e.ti.com/.../faq-simplelink-cc32xx-sdk-important-notice-for-customers-using-dropbox-for-ota-updates
When I tried to execute the ota code today, it returns below error from api.github.com.
OTA_run: call CdnClient_ConnectServer OTA server=api.github.com
CdnClient_ConnectServer: HttpClient_Connect api.github.com
[SOCK ERROR] an event received on socket 4
[SOCK ERROR] Used wrong CA to verify the peer.
[SOCK ERROR] Use Following Root CA.
[SOCK ERROR] DigiCert Global Root CA
[SOCK EVENT] - Unexpected Event [20x]
Then, I add the DigiCert Global Root CA to the code and replace the High Assurance CA
It return following error from raw.githubusercontent.com
//#define OTA_SERVER_ROOT_CA_CERT "DigCert_High_Assurance_CA.der" #define OTA_SERVER_ROOT_CA_CERT "DigiCertGlobalRootCA.der"
OTA_run: Call CdnClient_ConnectFileServer, url = raw.githubusercontent.com/.../20210308103838_CC3220SF_GW2.0.tar
HttpClient_Connect: IP_ADDR=185.199.111.133
[SOCK ERROR] an event received on socket 13
[SOCK ERROR] Used wrong CA to verify the peer.
[SOCK ERROR] Use Following Root CA.
[SOCK ERROR] DigiCert High Assurance EV Root CA
[SOCK EVENT] - Unexpected Event [20x]