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

cloud_connect failed: -95

Hello,

I am trying to run the asset tracker example on an nRF9160-DK and I get the following errors from the LTE Link Monitor:

2020-02-06T21:00:59.964Z DEBUG modem << cloud_connect failed: -95\x0D\x0A
2020-02-06T21:00:59.966Z DEBUG modem << LTE link disconnect\x0D\x0A

I followed the directions in the "Getting Started Assistant" and tried several board/SIM card combinations, but still cannot seem to fix this.

Also for the future, are these error codes documented anywhere? I checked the nRF Cloud Library documentation but could not find any error codes.

Thanks in advance!

Parents
  • Hi, it looks like there's something wrong with the nRF Cloud certificates on the modem. Can you run through this tutorial and then try again?

    Here is an application that supports long AT commands: nrf91dk_at_client_long_at_commands.hex

    Yes, all errors are documented. However, there are two different error-libraries utilized, so you have to be aware of which one the application is using.

    The asset_tracker application (which is what all the devices come shipped with) uses newlib, with the error codes found here. This is because the configuration NEWLBI_LIBC is enabled in this sample, as seen here.

    If this config is not enabled in a sample, then it uses the minimal library, with error codes found here.

     

    Hope this cleared up any confusion!

    Best regards,

    Heidi

Reply
  • Hi, it looks like there's something wrong with the nRF Cloud certificates on the modem. Can you run through this tutorial and then try again?

    Here is an application that supports long AT commands: nrf91dk_at_client_long_at_commands.hex

    Yes, all errors are documented. However, there are two different error-libraries utilized, so you have to be aware of which one the application is using.

    The asset_tracker application (which is what all the devices come shipped with) uses newlib, with the error codes found here. This is because the configuration NEWLBI_LIBC is enabled in this sample, as seen here.

    If this config is not enabled in a sample, then it uses the minimal library, with error codes found here.

     

    Hope this cleared up any confusion!

    Best regards,

    Heidi

Children
Related