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

nRF9160 cloud_connect failed: -116 Certificates error

Hello,

I recently bought a nRF9160 DK version 0.9.0, I did a few software experimentations on it and now I would like to restore the certificates properly.

I followed the instructions that are here :https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-cloud-certificate-update

But now when I try to use the Asset Tracker example (a clean one from a clean SDK)  I get the error "cloud_connect failed: -116" and couldn't find any documentation on this error.

I tried to erase the chip, update the firmware to the latest version and then flash the example and send the certificates I downloaded from the nRF Connect for Cloud environment but the result is the same.

Do you know what it is about?

Thank you by advance

Augustin

  • Hi.

    Are you using the iBasis SIM card that came with the DK?

    Can you check if it still has data left?

    You can check how much data is used on nRF Cloud and selecting "SIM CARDS" in the menu on the left.

    Best regards,

    Didrik

  • Hello,

    You were right I used the sim card of the older board by mistake and it works fine now.

    Where can I find the documentation about these nRF Connect for cloud error?

    Thank you,

    Augustin

  • The errors are POSIX errno values.

    NCS use of two different libc implementations.

    If it is configured to use newlibc, you can find the errno.h file here, or include string.h and use the strerror function to convert (a positive, so you often have to negate it) error value to a string.

    If it uses Zephyr's minimal libc implementation, you can find the errno.h file here.