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
[dynsec] mosquitto duplicates entries (clients/roles/...) from dynamic-security.json #2601
Comments
I've tried to duplicate this but haven't had any luck so far. Do you have any hints on anything I might be missing? |
I've deployed
The |
Thank you, that was very helpful. The problem is down to the duplicate loading of the dynamic security plugin. It is currently only possible for a plugin that uses $CONTROL messages, such as dynsec, to be loaded once, but the dynsec plugin wasn't catching that error. In your case, just remove the duplicate plugin entries and it will be fixed. I'll get the code fixed. |
For the 2.0.15 release duplicate plugins are disabled. For 2.1.0 I'll try to think of a different solution. |
I'm using docker image
eclipse-mosquitto:2.0.14-openssl
, which should be pretty recent, nevertheless, I get the following result:Although entries in the
dynamic-securty.json
are unique,mosquitto_ctrl
returns duplicates for each entry, like:Which means, that these entries are also shown in the management center:
There's a similar issue (#2470) reporting that also entries in the config file get duplicated. This, however, seems to be fixed in 2.0.14 (at least it did not happen in the last 15 minutes in my installation).
The text was updated successfully, but these errors were encountered: