Posts Tagged ‘auth_on_publish’
VerneMQ MQTT connection lost (8): AMQJS0008I Socket closed. different mountpoints
In my setup, I am rewriting the mountpoints of clients from the ones set up by the listeners to individual mountpoints depending on client group. The idea behind this is perfect isolation of multi-tenancy on the server. Individual clients from different groups thus are not able to see each other, even when subscribing to “#”…
WeiterlesenDebugging VerneMQ connection / authentication problems for dual authentication with webhooks and vmq_diversity
TL;DR https://github.com/vernemq/vernemq/blob/master/apps/vmq_diversity/src/vmq_diversity_plugin.erl includes a statement which will block authentication / authorization through any other channels if your Lua script returns “false”: will lead to: instead of trying other plugins, as you might have assumed! In order to avoid this problem, simply do not return anything from your Lua script, if you do not want to…
Weiterlesen