-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant get subscribe to work #6
Comments
What broker are you using for testing? |
im using broker.mqttdashboard.com port 8000 http://www.hivemq.com/demos/websocket-client/ any idea? do u think theres something wrong with this broker? thank you |
Are you using the same clientId for multiple clients? That will cause a client takeover and a disconnect. |
no im not using. its odd thing that this broker doesnt work. i tried atleast like 3 diffrent brokers and finally found broker that works: test.mosquitto.org |
hi, |
Usually this happens when something goes wrong with your settings. Try using onConnectionLost() to see if there's any error. Something like
|
broker allways disconnects me when trying to subscribe.
i have it like this:
private onConnected()
{
console.log('Connected to broker.');
this._client.subscribe('testtopic/', {qos: 1});
}
do i make it right?
thank you
The text was updated successfully, but these errors were encountered: