Open
Description
I'm expecting a strange behaviour when connecting to a broker using wss protocol, the client never emits the 'connect' event but packets are published anyway to the broker. The broker on it's side correctly authenticate the client and receives all client messages. I connect using
var options = {
clean: true,
rejectUnauthorized:true,
clientId: 'mqtt_01',
username: xxx,
password: xxx,
incomingStore: <nedb store>,
outgoingStore: <nedb store>,
will: "...",
reconnectPeriod: 3000
}
var client = mqtt.connect('wss://my.broker.url:443', options)
I'm using Aedes as broker
AB#8680452