I couldn't connect to the broker using
normal means either so I tried
to restart it - that failed because the port is already in
use. lsof
-i TCP:1883 tells me that node (and ponte) is listening on
that port
now. I killed ponte with the aim of restarting it, but now
that
mosquitto is running ponte won't start.
That’s really weird. Ponte is indeed listening on that port
but on a different interface (198.41.30.225 /
ponte.eclipse.org).
However it looks like you may have reset to the default
mosquitto.conf file that listens on all interface, where I
explicitly set it to listen only on 198.41.30.241 /
iot.eclipse.org?
Or did you?
Ian, I think the problem was the broker
not websockets!
Ian do you still have issues? Definitely working for me now
with both /ws and /mqtt. And I’m suspecting it's never been
broken in the first place, maybe?
var client = new Messaging.Client("ws://iot.eclipse.org/ws", "clientId");
client._onConnectionLost_ = onConnectionLost;
client._onMessageArrived_ = onMessageArrived;
client.connect({
onSuccess: onConnect
});
HTH
Benjamin
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev