This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 DK - Unable to establish connection with nRF Cloud

Hello, I lived in Taiwan and I followed nRF9160 DK Getting Started and met a problem at establishing connection with nRF Cloud with my board.

The previous steps are all successful but my LED3 light on and LED4 off in the end even if I reset several times.

I read the terminal at LTE Link Monitor said it can connect to LTE network but it failed to connect to the cloud when it tried.

I don't know how to solve this problem because my firmware had updated successfully and my SIM also had already linked to my account( SIM number: "8931080520********")

below is the link to part of my terminal messages.

https://drive.google.com/file/d/1O-nTQ6WtPbMdWTaRcf1gJjUgDPzNsyxj/view?usp=sharing

thanks for your answers.

sunrise

  • Hello Sunrise, 

    According to the Asset Tracker documentation:

    LED 3 blinking: The device is connecting to the LTE network.
    
    LED 3 ON: The device is connected to the LTE network.
    
    LED 4 blinking: The device is connecting to nRF Connect for Cloud.
    
    LED 3 and LED 4 blinking: The MQTT connection has been established and the user association procedure with nRF Connect for Cloud has been initiated.
    
    LED 4 ON: The device is connected and ready for sensor data transfer.

    From the log output, I see you get #define EKEYREVOKED 128 /* Key has been revoked */

    2021-03-21T09:33:47.811Z DEBUG modem << [00:00:16.001,373] [0m<dbg> nrf_cloud_transport.nct_mqtt_evt_handler: MQTT_EVT_DISCONNECT: result = -128[0m
    2021-03-21T09:33:47.823Z DEBUG modem << [00:00:16.011,383] [0m<dbg> nrf_cloud_fsm.drop_event_handler: Dropping FSM transition 9, current state 1[0m
    2021-03-21T09:33:48.331Z DEBUG modem << [00:00:16.521,392] [0m<dbg> nrf_cloud.nrf_cloud_run: Socket error: POLLNVAL[0m
    2021-03-21T09:33:48.338Z DEBUG modem << [00:00:16.528,747] [0m<dbg> nrf_cloud.nrf_cloud_run: The cloud socket was unexpectedly closed.[0m
    2021-03-21T09:33:48.355Z DEBUG modem << [00:00:16.537,780] [0m<inf> asset_tracker: CLOUD_EVT_DISCONNECTED: 2[0m
    2021-03-21T09:33:48.357Z DEBUG modem << [00:00:16.544,494] [0m<inf> asset_tracker: Cloud connection closed.[0m
    2021-03-21T09:33:48.360Z DEBUG modem << [00:00:16.551,086] [0m<inf> asset_tracker: This can occur during initial nRF Cloud provisioning.[0m

    There seems to be an issue with your certificates. Have you already added the device to nRF Cloud?

    Kind regards,
    Øyvind

  • Thank you for your help and reply.

    I'm very sorry for the delay to reply because I am a little busy recently.

    And I finally found why's wrong. It's because I didn't type "nrf-" before my digit IMEI when I downloaded the Device Certificates.

    Finally, it's my pleasure to receive your help that guild me in a direction to find my problem.

    Best regard,

    Sunrise

Related