AWS MQTT Connection Issue on nrf7002 kit

Hi,

I am not able to connect to AWS MQTT (using sample code for AWS ) . I am getting Error code -11 every time . CA cart and keys added in code. 

Same keys are working fine in MQTTX windows app.

MQTT i.e without keys normal TLS level is working ok .

Parents Reply
  • Hi,

    I am using Aws iot sample prog.

    below is the log and keys compiled 

    *** Booting nRF Connect SDK v3.0.2-89ba1294ac9b ***
    *** Using Zephyr OS v4.0.99-f791c49f492c ***
    [00:00:00.236,206] <inf> aws_iot_sample: The AWS IoT sample started, version: v1.0.0
    [00:00:00.236,236] <inf> aws_iot_sample: Bringing network interface up and connecting to the network
    [00:00:00.237,182] <inf> wifi_supplicant: wpa_supplicant initialized
    uart:~$ wifi connect -s "MKKR" -p "*****" -k 1
    Connection requested
    Connected
    [00:01:20.305,725] <inf> aws_iot_sample: Network connectivity established
    [00:01:25.305,786] <inf> aws_iot_sample: Connecting to AWS IoT
    [00:01:35.506,378] <err> mqtt_helper: mqtt_connect, error: -116
    [00:01:35.506,408] <err> aws_iot: mqtt_helper_connect, error: -116
    [00:01:35.506,408] <err> aws_iot_sample: aws_iot_connect, error: -116
    [00:01:35.506,408] <err> aws_iot_sample: Fatal error! Rebooting the device.

Children
No Data
Related