Other Parts Discussed in Thread: UNIFLASH,
Hello,
I am having new issues with OTA and I need help understanding the cause. We've had OTA working for a while, but haven't tested it recently, and likely we've caused a regression. I have the following errors:
OTA_init: sizeof CdnClient=576, sizeof OtaArchive=4956
OTA_init: sizeof OtaLib_t=7736, sizeof OTA_memBlock=7800
OTA_init: OTA lib version = OTA_LIB_2.0.0.7
OtaArchive_Init: OTA archive version = OTA_ARCHIVE_2.0.0.4
OtaPingGateway initiated
OTA_run: call CdnClient_ConnectServer OTA server=api.dropboxapi.com
CdnClient_ConnectServer: HttpClient_Connect api.dropboxapi.com
HttpClient_Connect: IP_ADDR=162.125.1.19
HttpClient_Connect: ERROR Socket Connect, status=-456
CdnClient_ConnectServer: ERROR HttpClient_Connect, Status=-20304
OTA_run: ERROR CdnClient_ConnectServer, Status=-20304
_OtaCheckConsecutiveErrors: ConsecutiveOtaErrors=1/5, return only WARNNING
OtaRun: WARNING Status=20006,
OTA_run: call CdnClient_ConnectServer OTA server=api.dropboxapi.com
CdnClient_ConnectServer: HttpClient_Connect api.dropboxapi.com
HttpClient_Connect: IP_ADDR=162.125.1.19
HttpClient_Connect: ERROR Socket Connect, status=-456
CdnClient_ConnectServer: ERROR HttpClient_Connect, Status=-20304
OTA_run: ERROR CdnClient_ConnectServer, Status=-20304
_OtaCheckConsecutiveErrors: ConsecutiveOtaErrors=2/5, return only WARNNING
OtaRun: WARNING Status=20006,
OTA_run: call CdnClient_ConnectServer OTA server=api.dropboxapi.com
CdnClient_ConnectServer: HttpClient_Connect api.dropboxapi.com
HttpClient_Connect: IP_ADDR=162.125.1.19
HttpClient_Connect: ERROR Socket Connect, status=-456
CdnClient_ConnectServer: ERROR HttpClient_Connect, Status=-20304
OTA_run: ERROR CdnClient_ConnectServer, Status=-20304
_OtaCheckConsecutiveErrors: ConsecutiveOtaErrors=3/5, return only WARNNING
OtaRun: WARNING Status=20006,
OTA_run: call CdnClient_ConnectServer OTA server=api.dropboxapi.com
CdnClient_ConnectServer: HttpClient_Connect api.dropboxapi.com
HttpClient_Connect: IP_ADDR=162.125.1.19
HttpClient_Connect: ERROR Socket Connect, status=-456
CdnClient_ConnectServer: ERROR HttpClient_Connect, Status=-20304
OTA_run: ERROR CdnClient_ConnectServer, Status=-20304
_OtaCheckConsecutiveErrors: ConsecutiveOtaErrors=4/5, return only WARNNING
OtaRun: WARNING Status=20006,
OTA_run: call CdnClient_ConnectServer OTA server=api.dropboxapi.com
CdnClient_ConnectServer: HttpClient_Connect api.dropboxapi.com
HttpClient_Connect: IP_ADDR=162.125.1.19
HttpClient_Connect: ERROR Socket Connect, status=-456
CdnClient_ConnectServer: ERROR HttpClient_Connect, Status=-20304
OTA_run: ERROR CdnClient_ConnectServer, Status=-20304
_OtaCheckConsecutiveErrors: ConsecutiveOtaErrors=5/5, MAX_CONSECUTIVE_OTA_ERRORS!!!
OtaRun: FATAL ERROR -21003 !!!!!
CdnClient_ConnectServer, Status=-20304 -> OTA_HTTP_CLIENT_ERROR_CONNECT_SL_CONNECT seems to indicate an issue with the connection
However HttpClient_Connect: ERROR Socket Connect, status=-456 -> SL_ERROR_BSD_ESECBADCAFILE seems to indicate an issue with the certificates.
Do you have any insight into what exactly is wrong with the CA file? The OTA image is essentially the same as the flashed image, so it seems like the CA file should match, but it's possible I've got something wrong in creating the files after recently having lost my Uniflash configuration settings.
Right now we're just using the TI dummy certificates
Thanks,
Katie