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
{{ message }}
This repository was archived by the owner on Aug 7, 2020. It is now read-only.
run_erl[678]: Erlang closed the connection.
20:27:56.767 [error] /opt/emqx/data/configs/app.2018.10.23.20.27.52.conf: Error converting value on line #2078 to latin1
EMQ version
emqx-docker-v3.0-beta.3:latest
Docker version
17.05.0
Work around
AUTH_MONGO configuration works with EMQX DASHBOARD, but every time the container is restarted, the whole configuration needs to be done again.
Thank you.
The text was updated successfully, but these errors were encountered:
Aren't you overriding all the default plugins when you set EMQ_LOADED_PLUGINS=”emqx_auth_mongo” ? And you have a typo in that. It should be EMQX_LOADED_PLUGINS.
Found the issue:
ENV variables should be passed without quotes.
It is very misleading because the quotes don’t appear in the logs, therefore thinking all is ok.
Maybe it should be written somewhere in the documentation?
Hello,
I am unable to run emqx-docker-v3.0-beta.3:latest with environement variables using the auth_mongo plugin.
Everything works perfectly fine when I configure the plugin through the DASHBOARD.
run command:
docker run --rm -ti --name emqx
-p 1883:1883 -p 8083:8083 -p 18083:18083
-e EMQX_ALLOW_ANONYMOUS=false
-e EMQ_LOADED_PLUGINS=”emqx_auth_mongo”
-e EMQX_AUTH__MONGO__SERVER=”192.168.1.3:27017”
-e EMQX_AUTH__MONGO__LOGIN=”xxx”
-e EMQX_AUTH__MONGO__PASSWORD=”xxx”
-e EMQX_AUTH__MONGO__AUTH_SOURCE=”xxx”
-e EMQX_AUTH__MONGO__DATABASE=”xxx”
-e EMQX_AUTH__MONGO__AUTH_QUERY__PASSWORD_HASH=plain
emqx-docker-v3.0-beta.3:latest
error log:
run_erl[678]: Erlang closed the connection.
20:27:56.767 [error] /opt/emqx/data/configs/app.2018.10.23.20.27.52.conf: Error converting value on line #2078 to latin1
EMQ version
emqx-docker-v3.0-beta.3:latest
Docker version
17.05.0
Work around
AUTH_MONGO configuration works with EMQX DASHBOARD, but every time the container is restarted, the whole configuration needs to be done again.
Thank you.
The text was updated successfully, but these errors were encountered: