Closed TangMonk closed 7 years ago
Hello @TangMonk thanks!
So your my_auth_on_publish
isn't called at all if you publish a message, for example?
@dergraf is any step or config missing here?
@ioolkos thanks for your reply, I try to publish and subscribe, not works
I record my operation to a video for better explain: http://recordit.co/nvS3zYMWzq
Great way to explain! Obviously both functions are not called as you are able to subscribe and publish. Hm... let's see what @dergraf or @larshesel say (still asleep?... :)
My guess is that there are other plugins which are returning 'ok' before vmq_diversity
is called. Can you check with vmq-admin plugin show
and check that e.g. the default vmq_acl
is disabled or the default acl rule #
is removed in /etc/vernemq/vmq.acl
.
Hi @TangMonk did you resolve the issue? Otherwise let us know - closing this for now.
I check the
console.log
, Onlymy_auth_on_register
be invoked,auth_on_publish
andauth_on_subscribe
not invoke