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

Issue With mqtt_simple connecting to AWS on one of my nRF9160 DK boards

I have two nRF9160 DK boards that are programmed with modem firmware version 1.1.1 and are using V1.2.0 sdk software.  They also are both programmed with the same mqtt_simple code.

One of the boards is able to connect to AWS and one of the boards is not able to connect.  It does not make sense to me how this can happen.

Provided below is the error code that I receive in the UART window on the board that is not able to connect.

Any suggestions on what my issue is and how to correct this error would be greatly appreciated.

Parents
  • Hi

    The mqtt_connect -60 error points to a Connection timeout, see nrfxlib\bsdlib\include\nrf_errno.h. From the log, it seems like the LTE link does connect, and after the address is found, the error occurs. Is it always the same board that is unable to connect?

    Here are a few things you can try:

    • Try switching SIM cards on the two DKs, to see if that changes anything.
    • If one board is already connected when you're trying to connect the second one, disconnect the first one, and try the other one.

    Best regards,
    Simon

Reply
  • Hi

    The mqtt_connect -60 error points to a Connection timeout, see nrfxlib\bsdlib\include\nrf_errno.h. From the log, it seems like the LTE link does connect, and after the address is found, the error occurs. Is it always the same board that is unable to connect?

    Here are a few things you can try:

    • Try switching SIM cards on the two DKs, to see if that changes anything.
    • If one board is already connected when you're trying to connect the second one, disconnect the first one, and try the other one.

    Best regards,
    Simon

Children
Related