Skip to content
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

用docker安装好各项服务后 java项目连不上EMQX,提示message=Not authorized to connect #14

Closed
zengcong90 opened this issue Jul 20, 2023 · 1 comment

Comments

@zengcong90
Copy link

zengcong90 commented Jul 20, 2023

1.进入EMQX服务执行 ./bin/emqx_ctl users list 显示无用户
2. 执行 ./bin/emqx_ctl users add wumei-smart wumei-smart 添加用户 wumei-smart
3. 在EMQX控制台开启emqx_auth_http、emqx_web_hook插件
4. 重新启动java项目后连接正常
5. 本地测试也正常

@kerwincui
Copy link
Owner

emqx使用4.0版本,需要启用http认证和webhook插件,启用插件后重启后端就可以连接了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants