Hi, I'm using CloudMQTT (it looks like it runs mosquitto 1.5.9). I can connect to the server with my username and password but the clientID I pass in seems to be ignored.
Checking the server log I see the connect but it connects as my username, not my clientID. As a result when I have 2 connections they conflict and keep getting closed.
My connection code follows. Any idea what could be the problem?
Checking the server log I see the connect but it connects as my username, not my clientID. As a result when I have 2 connections they conflict and keep getting closed.
My connection code follows. Any idea what could be the problem?
mqttc.Initialize("mqtt", "tcp://" & serverURL & ":" & serverPort, clientID)
mo.Initialize(serverUsername, serverPassword)
mqttc.Connect2(mo)