{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16708","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16708/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16708/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16708/events","html_url":"https://github.com/home-assistant/home-assistant/issues/16708","id":361651454,"node_id":"MDU6SXNzdWUzNjE2NTE0NTQ=","number":16708,"title":"Embedded MQTT broker broken with 0.78","user":{"login":"nicx","id":25152397,"node_id":"MDQ6VXNlcjI1MTUyMzk3","avatar_url":"https://avatars0.githubusercontent.com/u/25152397?v=4","gravatar_id":"","url":"https://api.github.com/users/nicx","html_url":"https://github.com/nicx","followers_url":"https://api.github.com/users/nicx/followers","following_url":"https://api.github.com/users/nicx/following{/other_user}","gists_url":"https://api.github.com/users/nicx/gists{/gist_id}","starred_url":"https://api.github.com/users/nicx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicx/subscriptions","organizations_url":"https://api.github.com/users/nicx/orgs","repos_url":"https://api.github.com/users/nicx/repos","events_url":"https://api.github.com/users/nicx/events{/privacy}","received_events_url":"https://api.github.com/users/nicx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-19T09:11:18Z","updated_at":"2018-09-19T16:52:08Z","closed_at":null,"author_association":"NONE","body":"Just upgraded to 0.78, now I get this error when running HA with the embedded hbmqtt broker:\r\n\r\n```\r\n2018-09-19 11:07:49 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/broker.py\", line 343, in stream_connected\r\n    yield from self.client_connected(listener_name, StreamReaderAdapter(reader), StreamWriterAdapter(writer))\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/broker.py\", line 469, in client_connected\r\n    result = yield from self.add_subscription(subscription, client_session)\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/broker.py\", line 624, in add_subscription\r\n    permitted = yield from self.topic_filtering(session, topic=a_filter)\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/broker.py\", line 586, in topic_filtering\r\n    filter_plugins=topic_plugins)\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/plugins/manager.py\", line 207, in map_plugin_coro\r\n    return (yield from self.map(self._call_coro, coro_name, *args, **kwargs))\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/plugins/manager.py\", line 181, in map\r\n    ret_list = yield from asyncio.gather(*tasks, loop=self._loop)\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/plugins/manager.py\", line 193, in _call_coro\r\n    return (yield from coro)\r\n  File \"/usr/local/lib/python3.6/asyncio/coroutines.py\", line 212, in coro\r\n    res = func(*args, **kw)\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/plugins/topic_checking.py\", line 27, in topic_filtering\r\n    filter_result = super().topic_filtering(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/hbmqtt/plugins/topic_checking.py\", line 13, in topic_filtering\r\n    if not self.topic_config:\r\nAttributeError: 'TopicTabooPlugin' object has no attribute 'topic_config'\r\n2018-09-19 11:07:52 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform denonavr is taking over 10 seconds.\r\n2018-09-19 11:08:04 WARNING (MainThread) [hbmqtt.mqtt.protocol.handler] BrokerProtocolHandler Unhandled exception in reader coro: IncompleteReadError('0 bytes read on a total of 1 expected bytes',)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/422876945","html_url":"https://github.com/home-assistant/home-assistant/issues/16708#issuecomment-422876945","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16708","id":422876945,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjg3Njk0NQ==","user":{"login":"pinquin87","id":43417732,"node_id":"MDQ6VXNlcjQzNDE3NzMy","avatar_url":"https://avatars2.githubusercontent.com/u/43417732?v=4","gravatar_id":"","url":"https://api.github.com/users/pinquin87","html_url":"https://github.com/pinquin87","followers_url":"https://api.github.com/users/pinquin87/followers","following_url":"https://api.github.com/users/pinquin87/following{/other_user}","gists_url":"https://api.github.com/users/pinquin87/gists{/gist_id}","starred_url":"https://api.github.com/users/pinquin87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinquin87/subscriptions","organizations_url":"https://api.github.com/users/pinquin87/orgs","repos_url":"https://api.github.com/users/pinquin87/repos","events_url":"https://api.github.com/users/pinquin87/events{/privacy}","received_events_url":"https://api.github.com/users/pinquin87/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T16:52:08Z","updated_at":"2018-09-19T16:52:08Z","author_association":"NONE","body":"> just found this: [beerfactory/hbmqtt#145](https://github.com/beerfactory/hbmqtt/issues/145)\r\n> \r\n> with this configuration it works again:\r\n> \r\n> ```\r\n> mqtt:\r\n>   embedded:\r\n>     listeners:\r\n>       default:\r\n>         max-connections: 5000\r\n>         bind: 192.168.0.10:1883\r\n>         type: tcp\r\n>       ws-1:\r\n>         bind: 192.168.0.10:8989\r\n>         type: ws\r\n>     auth:\r\n>       plugins: ['auth.anonymous']\r\n>       allow-anonymous: true\r\n>     topic-check:\r\n>       enabled: True\r\n>       plugins: \r\n>       - topic_taboo\r\n>   broker: 192.168.0.10\r\n>   port: 1883\r\n>   password: !secret mqtt_password\r\n> ```\r\n\r\nThanks, adding the topic-check part also solved this exact same error for me."}}
{"actor":{"display_login":"pinquin87"}}