James Sutton

Results 87 comments of James Sutton
trafficstars

I'm still unable to recreate this issue, is anyone still experiencing it? If so, it would be really handy to get some more information about the broker / version that...

This client can only connect to brokers that are exposing a websocket port, you will need to make sure that your mosquitto broker has websocket support, and change the mosquitto...

Not sure about windows, you might want to ask on the paho or mosquitto mailing lists https://projects.eclipse.org/projects/technology.mosquitto/contact Alternatively, you could try raising an issue here: https://github.com/eclipse/mosquitto

Whilst not an official part of the Paho Project, @rh389 has forked this repository and created a nice es6 / react-native ready version of this client: https://www.npmjs.com/package/react-native-paho-mqtt It might be...

Looks like you're not supplying the correct arguments. Take a look at the examples and documentation here: - https://github.com/eclipse/paho.mqtt.javascript/blob/master/utility/utility.js - https://github.com/eclipse/paho.mqtt.javascript/blob/master/README.md - https://www.eclipse.org/paho/files/jsdoc/symbols/Paho.MQTT.Client.html#constructor You basically need to supply either: -...

Hi, Really sorry but it looks like the 1.0.3 release on npm is incorrect. It's showing as having much older code that is not part of the 1.0.3 release on...

Ok, I've now pushed the correct level of code to npm at version 1.0.4 (https://unpkg.com/[email protected]/paho-mqtt.js), I'll also be pushing the latest version to cdnjs as well.

And for proof that the reconnect option now works: https://jsfiddle.net/1rLLrg4r/

This looks like it could be an HTTPS issue, does this only happen with Secure websockets connection, or with plain connections as well?

Can you try this against the server at iot.eclipse.org and confirm if you see the same problems connecting to that please?