emqxarchive / emqx-docker

This repository is no longer maintained, please go to https://github.com/emqx/emqx-rel/tree/master/deploy/docker
Apache License 2.0
235 stars 162 forks source link

can't sub some $SYS topic #76

Closed wuxingzhong closed 6 years ago

wuxingzhong commented 6 years ago

BUG REPORT

Expected behavior

  1. use docker image to run emq, I can't sub $SYS/brokers/${node}/clients/ topic.
  2. some result run in k8s
  3. I use rpm package to install and run emq, I can sub $SYS/brokers/${node}/clients/ topic
  4. The acl permission issue has been excluded

Actual behavior

use docker to run image use rpm package install image

Test code

in two terminal., run bash

 mosquitto_sub -h 127.0.0.1  -p 1883 -t \$SYS/brokers/#

EMQ version

2.3.4 2.3.11

Docker version

Docker version 18.06.1-ce, build e68fc7a

System

CentOS Linux release 7.5.1804 (Core)

gilbertwong96 commented 6 years ago

Thanks for your issue, @zhanghongtong would check it.

gilbertwong96 commented 6 years ago

It would be better if you open issue with English :p

wuxingzhong commented 6 years ago

@Gilbert-Wong My English is not very good. I will try to use English :p

wuxingzhong commented 6 years ago

use docker to run image

Rory-Z commented 6 years ago

The default ACL rule only allows the address of 127.0.0.1 to subscribe to the topic of $SYS/#. You can refer to this document to modify etc/acl.conf.

wuxingzhong commented 6 years ago

I fogeted to enable emq_modules