Hi,
I am trying OTA with my App after trying out the example which worked earlier.
I am facing an issue that the OtaRun() returns -4 all the time though the link to the dropbox is correct.
I have enabled DEBUG_PRINT in the ota library and compiled. Please see the debug logs attached.
Can you please clarify as to why OTA is failing?
regards,
Rajkumar
sl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request OtaClient_UpdateCheck: ERROR metadata sl_Recv status=-11 _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request OtaClient_UpdateCheck: ERROR metadata sl_Recv status=-11 _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request OtaClient_UpdateCheck: ERROR metadata sl_Recv status=-11 _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com IReturn value is 0sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=Vid00_Pid00_Ver00 OtaClient_UpdateCheck: call http_build_request _OtaCleanToIdle: close OTA client and CDN client and back to IDLE sl_extLib_OtaRun ERROR: OtaClient_UpdateCheck IReturn value is -4Device Error retryingsl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com OtaClient_ConnectServer: http_connect_server api.dropbox.com