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

nrf9160 MQTT sample problem

Hello. I have problem with MQTT sample. I use NB-IoT network.

If I use public MQTT server without username and password, then MQTT sample ist works. But if I use MQTT server with username and password, then I have this response

Error 61 is for Connection refused, right ? I use this configure

And user name + password

It's good ? 

User name, password, port and IP, MQTT version for the server is good. I use another MQTT client with same configuration, and this is works.

This is output from the server, during connection from nrf9160

What am I doing wrong ? Thank you

Related