Open ccuono opened 6 years ago
I was able to produce some log output from my mqtt server, here are some more details:
1525661121: New connection from 192.168.82.120 on port 1883.
1525661121: Socket error on client <unknown>, disconnecting.
1525661122: New connection from 192.168.82.223 on port 1883.
1525661122: New client connected from 192.168.82.223 as DVES_808E3F (c1, k15, u'mosquitto_user').
1525661129: New connection from 192.168.82.224 on port 1883.
1525661129: New client connected from 192.168.82.224 as DVES_3BBC21 (c1, k15, u'mosquitto_user').
1525661131: New connection from 192.168.82.222 on port 1883.
1525661131: New client connected from 192.168.82.222 as DVES_808ADA (c1, k15, u'mosquitto_user').
1525661131: New connection from 192.168.82.221 on port 1883.
1525661131: New client connected from 192.168.82.221 as DVES_3C1F00 (c1, k15, u'mosquitto_user').
The first item in the output is when I attempt to spin up the daemon - I get the same error but it looks like the mqtt server is kicking it out because of some socket error?
Hmm, strange. Under the hood I just use this library: https://www.npmjs.com/package/mqtt#client
I would add some debugging, make sure your complex password is being read correctly. Also, it might be a port/protocol problem. By default I think it uses mqtt protocol.
@stjohnjohnson thanks. the port hint helped
Hello,
My MQTT server uses username/password authentication; I set the username and password values in the config yaml and still keep getting this error. Here is some print out from journalctl:
Beginning of config.yml looks like:
And here is some version details about what I'm running for my mqtt server: