{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab1-addons/issues/5038","repository_url":"https://api.github.com/repos/openhab/openhab1-addons","labels_url":"https://api.github.com/repos/openhab/openhab1-addons/issues/5038/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab1-addons/issues/5038/comments","events_url":"https://api.github.com/repos/openhab/openhab1-addons/issues/5038/events","html_url":"https://github.com/openhab/openhab1-addons/issues/5038","id":203397027,"node_id":"MDU6SXNzdWUyMDMzOTcwMjc=","number":5038,"title":"[MQTT with MQTT Action] MQTT Binding will not connect with action installed","user":{"login":"rkoshak","id":6385096,"node_id":"MDQ6VXNlcjYzODUwOTY=","avatar_url":"https://avatars3.githubusercontent.com/u/6385096?v=4","gravatar_id":"","url":"https://api.github.com/users/rkoshak","html_url":"https://github.com/rkoshak","followers_url":"https://api.github.com/users/rkoshak/followers","following_url":"https://api.github.com/users/rkoshak/following{/other_user}","gists_url":"https://api.github.com/users/rkoshak/gists{/gist_id}","starred_url":"https://api.github.com/users/rkoshak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkoshak/subscriptions","organizations_url":"https://api.github.com/users/rkoshak/orgs","repos_url":"https://api.github.com/users/rkoshak/repos","events_url":"https://api.github.com/users/rkoshak/events{/privacy}","received_events_url":"https://api.github.com/users/rkoshak/received_events","type":"User","site_admin":false},"labels":[{"id":73038173,"node_id":"MDU6TGFiZWw3MzAzODE3Mw==","url":"https://api.github.com/repos/openhab/openhab1-addons/labels/esh","name":"esh","color":"5319e7","default":false},{"id":169286166,"node_id":"MDU6TGFiZWwxNjkyODYxNjY=","url":"https://api.github.com/repos/openhab/openhab1-addons/labels/openHAB2","name":"openHAB2","color":"5319e7","default":false},{"id":289631812,"node_id":"MDU6TGFiZWwyODk2MzE4MTI=","url":"https://api.github.com/repos/openhab/openhab1-addons/labels/pr-submitted","name":"pr-submitted","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-01-26T15:16:14Z","updated_at":"2018-10-05T21:04:57Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n<!--- If the issue is related to a binding, please include it in the title. -->\r\n<!--- For example, \"[astro] My issue...\" -->\r\n<!--- For questions or requests for assistance please use community.openhab.org instead. -->\r\n<!--- Feel free to delete any comment lines in the template (starting with &lt;!--) -->\r\nDiscussion on the forum is [here](https://community.openhab.org/t/mqtt-stopped-working-help/21192).\r\n\r\nI can't say exactly which build this started. But it is a problem with 2.0.0 release.\r\n\r\n## Expected Behavior\r\n\r\nWhen I have both the MQTT binding and MQTT Action installed I expect to be able to publish messages through the action and publish/subscribe messages with the MQTT binding.\r\n\r\n## Current Behavior\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- When possible, include related log information (preferably debug level) and related configs. -->\r\n<!--- Use file attachment for log and config information longer than a few lines -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\n<!--- For improvements, discuss in at community.openhab.org first and include link to topic -->\r\n\r\nWhen the MQTT Action is installed the MQTT binding generates no Info level logging including the expected:\r\n\r\n```\r\nMQTT Service initialization completed.\r\nStarting MQTT broker connection 'mosquitto'\r\n```\r\n\r\nNo messages published to topics subscribed to are received by OH. No messages published by the action are received by the broker. These were confirmed using mosquitto_sub.\r\n\r\nPutting the binding into TRACE level the only logs generated by the binding are as follows:\r\n\r\n```\r\n2017-01-25 16:10:36.964 [mqtt                      ] - BundleEvent STARTING - org.openhab.binding.mqtt\r\n2017-01-25 16:10:36.968 [MqttActivator             ] - MQTT binding has been started.\r\n2017-01-25 16:10:36.971 [mqtt                      ] - BundleEvent STARTED - org.openhab.binding.mqtt\r\n2017-01-25 16:10:37.604 [mqtt                      ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.mqtt.MqttBindingProvider}={component.name=org.openhab.binding.mqtt.genericbindingprovider, component.id=161, service.id=305, service.bundleid=193, service.scope=bundle} - org.openhab.binding.mqtt\r\n2017-01-25 16:10:37.617 [MqttGenericBindingProvider] - Starting to load MQTT config for item vMBR_Temperature\r\n2017-01-25 16:10:37.632 [MqttItemConfig            ] - Loaded MQTT config for item 'vMBR_Temperature' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.656 [MqttGenericBindingProvider] - Starting to load MQTT config for item vMBR_Humidity\r\n2017-01-25 16:10:37.657 [MqttItemConfig            ] - Loaded MQTT config for item 'vMBR_Humidity' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.658 [MqttGenericBindingProvider] - Starting to load MQTT config for item vMBR_Light\r\n2017-01-25 16:10:37.660 [MqttItemConfig            ] - Loaded MQTT config for item 'vMBR_Light' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.662 [MqttGenericBindingProvider] - Starting to load MQTT config for item vGarageOpener1\r\n2017-01-25 16:10:37.664 [MqttItemConfig            ] - Loaded MQTT config for item 'vGarageOpener1' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.664 [MqttGenericBindingProvider] - Starting to load MQTT config for item vGarageOpener2\r\n2017-01-25 16:10:37.668 [MqttItemConfig            ] - Loaded MQTT config for item 'vGarageOpener2' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.668 [MqttGenericBindingProvider] - Starting to load MQTT config for item vFrontDoor\r\n2017-01-25 16:10:37.669 [MqttItemConfig            ] - Loaded MQTT config for item 'vFrontDoor' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.669 [MqttGenericBindingProvider] - Starting to load MQTT config for item vBackDoor\r\n2017-01-25 16:10:37.670 [MqttItemConfig            ] - Loaded MQTT config for item 'vBackDoor' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.671 [MqttGenericBindingProvider] - Starting to load MQTT config for item vGarageDoor\r\n2017-01-25 16:10:37.675 [MqttItemConfig            ] - Loaded MQTT config for item 'vGarageDoor' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.676 [MqttGenericBindingProvider] - Starting to load MQTT config for item vJennPhone_Cerberos_BT\r\n2017-01-25 16:10:37.680 [MqttItemConfig            ] - Loaded MQTT config for item 'vJennPhone_Cerberos_BT' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.684 [MqttGenericBindingProvider] - Starting to load MQTT config for item vRichPhone_Cerberos_BT\r\n2017-01-25 16:10:37.684 [MqttItemConfig            ] - Loaded MQTT config for item 'vRichPhone_Cerberos_BT' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.685 [MqttGenericBindingProvider] - Starting to load MQTT config for item vJennPhone_Hydra_BT\r\n2017-01-25 16:10:37.686 [MqttItemConfig            ] - Loaded MQTT config for item 'vJennPhone_Hydra_BT' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.690 [MqttGenericBindingProvider] - Starting to load MQTT config for item vRichPhone_Hydra_BT\r\n2017-01-25 16:10:37.691 [MqttItemConfig            ] - Loaded MQTT config for item 'vRichPhone_Hydra_BT' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.692 [MqttGenericBindingProvider] - Starting to load MQTT config for item vRichPhone_Chimera_BT\r\n2017-01-25 16:10:37.692 [MqttItemConfig            ] - Loaded MQTT config for item 'vRichPhone_Chimera_BT' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.693 [MqttGenericBindingProvider] - Starting to load MQTT config for item vJennPhone_Chimera_BT\r\n2017-01-25 16:10:37.693 [MqttItemConfig            ] - Loaded MQTT config for item 'vJennPhone_Chimera_BT' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.693 [MqttGenericBindingProvider] - Starting to load MQTT config for item vReelyActive_Cerberos\r\n2017-01-25 16:10:37.694 [MqttItemConfig            ] - Loaded MQTT config for item 'vReelyActive_Cerberos' : 1 subscribers, 0 publishers\r\n2017-01-25 16:10:37.695 [mqtt                      ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler}={event.topics=openhab/*, component.name=org.openhab.binding.mqtt.MqttItemBinding, component.id=163, service.id=307, service.bundleid=193, service.scope=bundle} - org.openhab.binding.mqtt\r\n2017-01-25 16:10:37.704 [mqtt                      ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService}={event.topics=openhab/*, service.pid=org.openhab.mqtt-eventbus, component.name=org.openhab.binding.mqtt.eventbus, component.id=162, service.id=308, service.bundleid=193, service.scope=bundle} - org.openhab.binding.mqtt\r\n2017-01-25 16:10:37.721 [MqttEventBusBinding       ] - MQTT: Activating event bus binding.\r\n2017-01-25 16:10:37.724 [MqttEventBusBinding       ] - No mqtt-eventbus properties configured.\r\n```\r\n\r\nUninstalling both the MQTT binding and the MQTT action and just reinstalling the MQTT binding causes the subscription Items to start receiving their messages again.\r\n\r\n## Possible Solution\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!--- or ideas how to implement the addition or change -->\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Install and configure the MQTT Binding and MQTT Action\r\n2. Configure Items to subscribe to topics\r\n3. Configure rule to publish to topic using publish()\r\n4. Generate message traffic\r\n5. Confirm message traffic is being received by the broker\r\n6. Confirm message traffic is not being received by OH\r\n7. Confirm messages published by OH are not received by the broker\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\n\r\nFor some time now MQTT has been central to my HA system. When I moved to OH2 I started using the MQTT action instead of MQTT outgoing Items. It worked for many months. I don't know exactly when it stopped working but it was within the past couple of weeks.\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used: openHAB 2.0.0 Release Build with Release Build version of add-ons\r\n* Environment name and version (e.g. Chrome 39, node.js 5.4, Java 8, ...): Latest Docker Image from openhab/openhab on Docker Hub configured with --net==host\r\n* Operating System and version (desktop or mobile, Windows 10, Raspbian Jessie, ...): Latest version of docker running on Ubuntu 16.04 64-bit\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab1-addons/issues/comments/427498508","html_url":"https://github.com/openhab/openhab1-addons/issues/5038#issuecomment-427498508","issue_url":"https://api.github.com/repos/openhab/openhab1-addons/issues/5038","id":427498508,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzQ5ODUwOA==","user":{"login":"rsterrenburg","id":6689461,"node_id":"MDQ6VXNlcjY2ODk0NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6689461?v=4","gravatar_id":"","url":"https://api.github.com/users/rsterrenburg","html_url":"https://github.com/rsterrenburg","followers_url":"https://api.github.com/users/rsterrenburg/followers","following_url":"https://api.github.com/users/rsterrenburg/following{/other_user}","gists_url":"https://api.github.com/users/rsterrenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/rsterrenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsterrenburg/subscriptions","organizations_url":"https://api.github.com/users/rsterrenburg/orgs","repos_url":"https://api.github.com/users/rsterrenburg/repos","events_url":"https://api.github.com/users/rsterrenburg/events{/privacy}","received_events_url":"https://api.github.com/users/rsterrenburg/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T21:04:57Z","updated_at":"2018-10-05T21:04:57Z","author_association":"NONE","body":"Any news on this issue... having the same problems with latest OpenHAB 2.4 snapshot and MQTT 1.13 snapshot Binding and Action"}}
{"actor":{"display_login":"rsterrenburg"}}