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

MQTT not publish or subscribe after update to OH2.1 #475

Closed
vuhams opened this issue Jun 30, 2017 · 2 comments
Closed

MQTT not publish or subscribe after update to OH2.1 #475

vuhams opened this issue Jun 30, 2017 · 2 comments

Comments

@vuhams
Copy link

vuhams commented Jun 30, 2017

In an existing OH2.0 setup MQTT is working properly without any issues. but, after i update it to OH2.1, MQTT is not publish or subscribe to any topic.

@kaikreuzer
Copy link
Member

Please report this as an issue of the MQTT binding at https://github.com/openhab/openhab1-addons/issues, so that it can be analyzed and tracked there.

@ThomDietrich
Copy link
Member

@vuhams please create the other issue (and link it here).
I've seen the same problems. I was able to regain functionality by uninstalling and reinstalling the binding.

Here are the log messages I was seeing before and after the reinstall:

2017-07-01 11:50:31.983 [INFO ] [penhab.io.transport.mqtt.MqttService] - Stopping broker connection 'broker'
2017-07-01 11:52:13.266 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2017-07-01 11:52:13.300 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'broker'
2017-07-01 11:52:14.332 [ERROR] [penhab.io.transport.mqtt.MqttService] - Error starting broker connection
        at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:79)[218:org.openhab.io.transport.mqtt:1.10.0]
        at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:650)[218:org.openhab.io.transport.mqtt:1.10.0]
        at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:70)[218:org.openhab.io.transport.mqtt:1.10.0]

2017-07-01 12:25:43.081 [INFO ] [penhab.io.transport.mqtt.MqttService] - Stopping broker connection 'broker'
2017-07-01 12:27:24.135 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2017-07-01 12:27:24.138 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'broker'

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

3 participants