You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you run your code in the browser? If yes, port 1883(mqtt:https://) is the default for native MQTT, not MQTT over websockets. Thus, your MQTT broker needs to listen websocket port(ws:https://) and be connected by it in the browser.
I don't know why this is failing with the error:
WebSocket connection to 'ws:https://localhost:1883/' failed:
I can connect with the gui program MQTTLens no problem and subscribe to topics.
I've tried multiple different protocols, non seem to work. It shows as ws though even when I put mqtt or tcp.
The error reporting isn't really helpful. Is that from your lib or the underlying one?
The text was updated successfully, but these errors were encountered: