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.

CC3220S-LAUNCHXL: AWS plugin SUBSCRIBE AND PUBLISH example Error(-12) or Error(-4)

Part Number: CC3220S-LAUNCHXL

I am trying to work with AWS subscribe and publish example code. I have created the things and certificates in  AWS IOT. After successfully loading the binary file to the device it shows the following date in the terminal.

"

Starting the AWS IoT example application

startSNTP: Current time: Thu Sep 16 05:07:03 2021


CC32XX has connected to AP and acquired an IP address.

IP Address: 192.168.1.45


AWS IoT SDK Version 3.0.1-

Connecting...


ERROR: runAWSClient L#108
Error(-4) connecting to xxxxxx-ats.iot.us-east-1.amazonaws.com:8883

"

I found similar kinds of issues in the forum and according to the forum tested the device with many Root certificates and the error code sometimes changed to -12.

When I checked with the latest SDK and found that its SSL error -688 still has no connection with AWS.

Regards

Abhilash KJ