nRF9160: AWS IoT (mqtt_connect, error: -111)

Hello

I have connection refused error

What could i be doing wrong?

  1. Create a Thing in AWS IoT

  2. Provisioning of the certificates

  3. Configuring the application

Parents
  • Hello, 

    The error -111 means the connection has been refused. This is mostly seen when there is an issue with the certificates.

    When copying the content of each the of the following

    • Thing certificate (*-certificate.pem.crt)

    • The private key (*.private.pem.key)

    • The root CA (choose the Amazon Root CA 1, AmazonRootCA1.pem)

    Did you make sure to copy everything?

    Kind regards,
    Øyvind

Reply
  • Hello, 

    The error -111 means the connection has been refused. This is mostly seen when there is an issue with the certificates.

    When copying the content of each the of the following

    • Thing certificate (*-certificate.pem.crt)

    • The private key (*.private.pem.key)

    • The root CA (choose the Amazon Root CA 1, AmazonRootCA1.pem)

    Did you make sure to copy everything?

    Kind regards,
    Øyvind

Children
No Data
Related