emqx / emqx-auth-username

EMQX Authentication with Username and Password

Home Page:https://emqx.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emqx_auth_username 问题求解答

lrm929 opened this issue · comments

steps:

1 etit emqx.conf

  allow_anonymous = false

2 at web config start emqx_auth_username

3 cli run ./bin/emqx stop

4 next ./bin/emqx start
tcp 0 0 0.0.0.0:6369 0.0.0.0:* LISTEN 12229/beam.smp
tcp 0 0 0.0.0.0:18083 0.0.0.0:* LISTEN 12229/beam.smp
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 12229/beam.smp
tcp 0 0 0.0.0.0:5369 0.0.0.0:* LISTEN 12229/beam.smp
Normally there should be many ports
5 I'll use the command again. ./bin/emqx stop

error.log
2018-12-19 14:26:25.670 [error] Plugin emqx_auth_username is not started

I don't know what the situation is.

Please open issue with English.

Thank you for your answer.

I suppose the emqx version you use is emqx3.0 rc.5?

emqx-centos6.8-v3.0-rc.5.zip

If you stop "emqx_auth_username" in the web interface first,
use cli run. / bin / emqx stop
cli run. / bin / emqx start
so it's normal.

Hi,
I also have the same issue.
When I start emqx with allow_anonymous = false and emqx_auth_username plugin enabled, the server isn't starting or opening ports such as 1883. If I set allow_anonymous = true everything is working (but authentication is not very useful in that case).

OK, I'll try it. Thanks Gilbert-Wong

emqx 3.0.0 release. When can I download it?

Hi guys, the EMQX v3.0.0 has released in the long ago. You can download it here