njouanin / hbmqtt

MQTT client/broker using Python asynchronous I/O
MIT License
800 stars 190 forks source link

'topic-check' section not found in context configuration #145

Open padmaruban opened 6 years ago

padmaruban commented 6 years ago

When I try to run hbmqtt in windows console, I am getting the following warning, someone please help me on this.

C:>hbmqtt [2018-07-25 18:07:07,656] :: WARNING - 'topic-check' section not found in context configuration [2018-07-25 18:07:07,656] :: INFO - Exited state new [2018-07-25 18:07:07,656] :: INFO - Entered state starting [2018-07-25 18:07:07,656] :: INFO - Listener 'default' bind to 0.0.0.0:1883 (max_connections=-1) [2018-07-25 18:07:07,656] :: INFO - Exited state starting [2018-07-25 18:07:07,656] :: INFO - Entered state started

image

fg607 commented 6 years ago

@padmaruban u can add it to default_broker.yaml manually like this

listeners:
  default:
    type: tcp
    bind: 0.0.0.0:1883
sys_interval: 20
auth:
  allow-anonymous: true
plugins:
  - auth_file
  - auth_anonymous
topic-check:
  enabled': True
  plugins': 
    - topic_taboo
padmaruban commented 6 years ago

@fg607 Thank you very much. It works for me now. :)