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

Denied publish is not handled #1376

Closed
zim32 opened this issue Dec 20, 2021 · 3 comments
Closed

Denied publish is not handled #1376

zim32 opened this issue Dec 20, 2021 · 3 comments

Comments

@zim32
Copy link

zim32 commented Dec 20, 2021

I setup some ACL which denies publishing.

Then I call publish method and there is no error in callback after publishing.
Mosquitto logs:

1640004431: New client connected from 172.25.0.1:43498 as mqttjs_74b1d1ba (p2, c1, k60, u'core-plugin').
1640004431: No will message specified.
1640004431: Sending CONNACK to mqttjs_74b1d1ba (0, 0)
1640004432: Denied PUBLISH from mqttjs_74b1d1ba (d0, q0, r0, m0, 'iot/restricted', ... (9 bytes))
1640004432: Received DISCONNECT from mqttjs_74b1d1ba
1640004432: Client mqttjs_74b1d1ba disconnected.

It seems there is no ACL errors handling at all

@YoDaMa
Copy link
Contributor

YoDaMa commented Dec 30, 2021

do you think this is related to #1372?

@vishnureddy17
Copy link
Member

@YoDaMa This seems unrelated.

@zim32 Just to clarify, is the issue that the callback never gets called or that the callback gets called without an error?

@YoDaMa
Copy link
Contributor

YoDaMa commented Feb 10, 2022

closing due to inactivity.

@YoDaMa YoDaMa closed this as completed Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants