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

nRF9160 - getaddrinfo return 60

Hello,

I'm trying to run Simple_mqtt code on developement board with nRF9160. Connection to LTE takes in my opinion very long time. On basic AT sample code it's connecting a way faster. Next and main issue is that I can't connect to any mqtt broker. First I didn't change anything in code and at end I have information:

ERROR: getaddrinfo failed 60
ERROR: mqtt_connect -47

I changed mqtt broker for HiveMQ and I have exactly the same error. I'm using the latest software from your side:

I'm attaching log from connection. 

Regards

Piotr Durys