Skip to content
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

mqtt: No error if topic subscription fails #10

Open
jonnor opened this issue Oct 7, 2016 · 1 comment
Open

mqtt: No error if topic subscription fails #10

jonnor opened this issue Oct 7, 2016 · 1 comment
Labels

Comments

@jonnor
Copy link
Member

jonnor commented Oct 7, 2016

Can for instance happen if there are permission problems.

@jonnor
Copy link
Member Author

jonnor commented Oct 9, 2016

Related, there is no error when sending fails due to permissions problems. However in this case, the broker (at least on Moquitto 1.3.4) does not disconnect the client, or seem to give any other indication of something wrong, so it seems uncatchable.
This is why I ended up checking if data did come out on the topic when testing permissions setup in a deployment, https://github.com/bitraf/bitraf-iot/blob/master/test/access.coffee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant