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
I have broker with mqtt and ws protocol, tyring to connect from React vite App.
Tried to connect to broker via mqtt protocol, its not getting connected but working with ws protocol
If mqtt:// is specified in the brokerUrl, internally replacing to ws://.
Does this package support to connect to broker via mqtt protocol ?
Minimal Reproduction
Connect to mqtt://test.mosquitto.org:1883 using mqtt.connect(...) function
It is sometimes taking long time to connect or else it shows failed to connect to url : ws://test.mosquitto.org:1883
It is replacing the protocol, even If I mention the defaultProtocol and protocol as mqtt
Unable to get the logs (using vite so it didn't load the application correctly).
Debug logs
<UNABLE_TO_GET_LOGS>
The text was updated successfully, but these errors were encountered:
MQTTjs Version
^5.10.1
Broker
test.mosquitto.org
Environment
NodeJS
Description
I have broker with mqtt and ws protocol, tyring to connect from React vite App.
Does this package support to connect to broker via mqtt protocol ?
Minimal Reproduction
Connect to
mqtt://test.mosquitto.org:1883
using mqtt.connect(...) functionIt is sometimes taking long time to connect or else it shows
failed to connect to url : ws://test.mosquitto.org:1883
It is replacing the protocol, even If I mention the
defaultProtocol
andprotocol
asmqtt
Unable to get the logs (using vite so it didn't load the application correctly).
Debug logs
<UNABLE_TO_GET_LOGS>
The text was updated successfully, but these errors were encountered: