This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF-LAUNCHXL: Socket connect fails with error -111.

Part Number: CC3220SF-LAUNCHXL

While performing OTA operation sl_Connect is failing with error code -111 , when Iam trying to connect to an OTA server.

In error code description it is described as refused to connect.

Can u please tell me the reasons that can cause this error? 

  • Typically, this means that you are trying to connect to a wrong URL, or the app token is wrong.

    Which server are you using?

    If it is Dropbox or github, make sure that the otauser.h definition are exactly what was defined in your ota (cloud) account.

    Br,

    Kobi