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

MQTT Connect timeout

HI,

I compiled MQTT sample, and always got :

   ERROR: mqtt_connect -60

timeout error.

It seems that it takes about 2 minutes to get LTE link connected:

   LTE Link Connected!

   IPv4 Address found 198.41.30.254

Then, got the above error:

   ERROR: mqtt_connect -60

How to increase the timeout parameter, and is this error because of something else?

Thank you,

David Zhou

Parents
  • Hello,

    are you using iBasis SIM? If you are, you should check if there is data left on it. You can check it on nrf cloud in the "SIM CARDS" section.

Reply
  • Hello,

    are you using iBasis SIM? If you are, you should check if there is data left on it. You can check it on nrf cloud in the "SIM CARDS" section.

Children
No Data