E: mqtt_connect, error; -111 when trying to connect nRF9160 to AWS Cloud

Hi,

I'm facing the mqtt error shown in the image below "E: mqtt_connect, error; -111" when I try to establish connection between the nRF9160 DK and AWS Cloud. I've double checked the certificates that I uploaded and there doesn't seem to be any errors in that.

I am using the aws iot sample from this github: https://github.com/nrfconnect/sdk-nrf/tree/main/samples/nrf9160/aws_iot

I also tried the AT command: "AT+CPMS?" and have included the output for that in the second picture. 

I have included two log files: Before reset and after reset log files.

Please help with this issue.

Parents Reply Children
No Data
Related