You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm developing an emqx plugin which performs emqx configuration updates, among other things. I noticed that if I try to execute emqx_conf:update_conf for the authentication key, within the plugin's start function, the update fails.
The issue was due to authn providers not being registered before the aforementioned update, because emqx_authn wasn't loaded at this point.
I was able to workaround the issue by adding emqx_authn as an application dependency in emqx_plugins.app.src.
Wanted to report this issue, in case there may be similar situations; maybe it would make sense to load plugins after most other emqx apps have loaded
What did you expect to happen?
See above
How can we reproduce it (as minimally and precisely as possible)?
No response
Anything else we need to know?
No response
EMQX version
5.1.1
OS version
windows
Log files
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What happened?
Hello, I'm developing an emqx plugin which performs emqx configuration updates, among other things. I noticed that if I try to execute
emqx_conf:update_conf
for theauthentication
key, within the plugin'sstart
function, the update fails.The issue was due to authn providers not being registered before the aforementioned update, because
emqx_authn
wasn't loaded at this point.I was able to workaround the issue by adding
emqx_authn
as an application dependency inemqx_plugins.app.src
.Wanted to report this issue, in case there may be similar situations; maybe it would make sense to load plugins after most other emqx apps have loaded
What did you expect to happen?
See above
How can we reproduce it (as minimally and precisely as possible)?
No response
Anything else we need to know?
No response
EMQX version
5.1.1
OS version
windows
Log files
The text was updated successfully, but these errors were encountered: