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

Not connecting to nRFCloud

Hi, we have an nRF9160DK (0.8.3) and it does not connect to the nrfcloud.

We have updated to the latest firmware 1.0.0

We only have nb-iot here so we  didn't use the iBasis sim, instead using a vodafone V-Sim (which is active). 

Are we missing a step here?

Thanks

Parents Reply Children
  • Hi Didrik,

    I have no idea why it stopped working but we re-installed Segger and the project, this worked and it can connect / build+run etc again :)

    We use Kiel here and are not familiar with Segger, it seems complex and buggy or maybe we just are not used to it.

    We have never registered the device on the cloud so how would we have certificates?

    Also how exactly do we get the certificates?

    Using the URLs with our API Key in the Chrome window doesn't seem to work (we just get search results).

    Here are the actual commands we are putting into URL text box: 

    http api.nrfcloud.com/.../devices Authorization:"Bearer b8c3ad8b60e4abb110bb67421346f274586306e2"


    POST api.nrfcloud.com/.../<device ID>/certificates Authorization:"Bearer b8c3ad8b60e4abb110bb67421346f274586306e2"

    Are they formatted OK?

    If we remove the http and POST we get this for both.

    {
        "message": "Missing Authentication Token",
        "type":  "MISSING_AUTHENTICATION_TOKEN",
        "resourcePath":  "",
        "statusCode": "'404'"
    }

    Any ideas?

    Ian
  • Hi.

    The "http" commands should be run in the command line after installing httpie. <device ID> should be replaced with the device ID you get from the first command.

    However, if your device is not registered to your account in nRF Cloud you will not get any devices. I am working on what to do in that case and will come back to you as soon as I have an answer.

    Best regards,

    Didrik

  • Thanks Didrik,

    Just to explain what we did, since we have rev 0.8.3 there doesn't seem to be a way to register.

    First it asks you for the SIM details which I assume is only for iBasis and since we have a Vodafone SIM we clicked the "already have an active SIM link" (Vodafone SIM is active and working). Since we have an old DK we press that link too.

    Also below is the CMD line output for the commands.

    Ian

    Ian

  • Hi Dirdik,

    We're under pressure here, so to speed things up we purchased a new DK rev 0.8.5.

    But....it will not update its firmware.

    Any ideas please?

    Ian

  • Yano, quick question.

    Now that you have Vodafone NB-IoT SIMs, did you ask Vodafone if you can use dynamic IP addresses on their network with those SIMs?

    Our trial NB-IoT SIMs from Vodafone only support connection to whitelisted IP addresses (of which we are only allowed to supply two addresses) and therefore would not support AWSs dynamic range of IP addresses for the AWS IoT core. Which is what you need to connect to in order to get to nRF Cloud.

Related