Trouble connecting openHAB to mosquito on Raspberry Pi w/ openhabian

  • Platform information:openhabian
    • Hardware: Raspberry Pi 3
    • openHAB version: 2.4.0-1
  • Issue of the topic: Trouble connecting openHAB to mosquito installed on same Raspberry Pi

Any help would be great, I have mosquito up and running and can connect with Owntracks/phone and MQTTool and observe data flowing. I just can not seem to get openHAB to connect and keep getting the error message below.
At the moment I don’t have any authentication on mosquito and can publish to it via 1883 from LAN & WAN.
I have had a look around but can’t seem to get it working.
Also is there a good link to get Owntracks working (I had it going on 1.x and am moving over to openhabian, yes a bit slow)

2019-09-13 22:38:16.390 [hingStatusInfoChangedEvent] - 'mqtt:broker:76e5ba59' changed from OFFLINE to ONLINE
2019-09-13 22:38:16.411 [me.event.ThingUpdatedEvent] - Thing 'mqtt:broker:76e5ba59' has been updated.
==> /var/log/openhab2/openhab.log <==
2019-09-13 22:38:16.732 [INFO ] [] - MQTT Service initialization completed.
2019-09-13 22:38:16.739 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'mosquitto'
2019-09-13 22:38:16.771 [ERROR] [] - Error starting broker connection
java.lang.IllegalArgumentException: null
	at org.eclipse.paho.client.mqttv3.MqttConnectOptions.validateWill( ~[232:org.eclipse.paho.client.mqttv3:1.2.0]
	at org.eclipse.paho.client.mqttv3.MqttConnectOptions.setWill( ~[232:org.eclipse.paho.client.mqttv3:1.2.0]
	at ~[]
	at ~[]
	at []
	at [9:org.apache.felix.configadmin:1.9.4]
	at [9:org.apache.felix.configadmin:1.9.4]
	at [9:org.apache.felix.configadmin:1.9.4]
	at$ManagedServiceUpdate.provide( [9:org.apache.felix.configadmin:1.9.4]
	at$ [9:org.apache.felix.configadmin:1.9.4]
	at [9:org.apache.felix.configadmin:1.9.4]
	at [9:org.apache.felix.configadmin:1.9.4]
	at [?:?]

You might reveal your broker Thing configuration.

I see mention of MQTT 1.13.0 in there; which binding version have you installed?


The MQTT thing is, I hope that helps