NRF Cloud Connect Failed (-111) after reflashing

Hi,

I am currently extending the NRF Cloud multi service sample, thus I am constantly reflashing my NRF9161DK during development. However today, my device fails to connect to NRF Cloud. I am using the NRF Cloud Provisioning Service, with CoAP configuration.

The NRF Cloud Claimed Devices tab shows that the device status is provisioned. The Device Management -> Devices tab shows the device (which shows the old data I have transmitted during my previous testing). I have tried unclaiming the device and removing the device.

I have confirmed that my SIM is OK since I have flashed a different FW with LTE connectivity but doesn't use NRF Cloud. I have also flashed the unmodified Multi Service Sample and the issue still persists.

Attaching Logs:

Parents Reply
  • Hi,

    You should take into account that the provisioning state of the device on the server side might be different than what is actually provisioned to the device, especially after resetting/reflashing. You can visit Claimed Devices on the nRF Cloud web portal, choose the device which has been reset and click on Reset on the right-hand side of the screen. This will reset the provisioning state of the device and cause all provisioning commands (onboarding commands) to be resent to the device.

    Best regards,
    Dejan

Children
Related