NRF9160 AWS IOT no connection possible.

Dear

We are bussy with oure first NRF IOT application, in the past we used AWS as cloud environment.

Now we want to write some data in the cloud based on the NRF9160-DK board.

After a clean and up to date, setup from the Nordic SDK and downloading the stock AWS example with the needed adaption, described in the tutorial online, like the URL to the cloud and adding downloading the 3 certificates into the device with AT CMD project.

We run in some problem, after programming the AWS project we got this error:

I can’t find what -119 problem means?

*** Booting Zephyr OS build v3.3.99-ncs1 ***

*** Booting Zephyr OS build v3.3.99-ncs1 ***

I: The AWS IoT sample started, version: v1.0.0

E: AWS IoT library could be initialized, error: 0

E: Adding application specific topics succes, error: 0

E: Modem could be configured, error: 0

E: initializing modem info module, error: 0

+CEREG: 2,"0C3F","02C93C01",7

I: LTE cell changed: Cell ID: 46742529, Tracking area: 3135

+CSCON: 1

I: RRC mode: Connected

+CEREG: 1,"0C3F","02C93C01",7,,,"11100000","00000110"

I: Network registration status: Connected - home network

I: PSM parameter update: TAU: 3600, Active time: -1

%XTIME: "80","32604161952580","01"

I: Date time obtained

I: Next connection retry in 5 seconds

I: AWS_IOT_EVT_CONNECTING

W: connection_poll_start failed, error: -119

E: aws_iot_connect, error: -119

I: Next connection retry in 5 seconds

How can we solve this problem or what configuration is missing?

Parents Reply
  • emsys said:
    I added the lines by myself and got this error: "warning: attempt to assign the value 'y' to the undefined symbol AWS_IOT_LOG_LEVE_DBG" i added this to prj.conf

    I'm sorry, that was a typo on my end. It should be CONFIG_AWS_IOT_LOG_LEVEL_DBG=y.

    emsys said:
    Maybe, HOST name is changed the other are stock values.

    Which sec_tag did you write the credentials to? 201?

    And what did you name the device in AWS and the device certificate?

Children
Related