0
votes

So I'm using the Angular-MQTT library and if I want to connect on a none-websocket Broker, I get this error-message:

WebSocket connection to 'ws://iot.eclipse.org:1883/mqtt' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET

So is it somehow possible to connect on a none-websockets Brokers?

1

1 Answers

1
votes

The npm page says it's using the Paho JavaScript client, that client only supports connecting to brokers that support MQTT over WebSockets