Very similar to [SOLVED] MQTT not working after update to 2.4.0, connected, but no commands send or received but I have opened a new topic since this one was marked solved. The solution in the previous issue did not resolve mine.
After updating to 2.4.0 from 2.3.0 with Openhabian on Raspi2 I was able to get all of the zwave items working ok by following the published tips.
Mosquitto is a very different thing fthough. No commands are working and it seems no messages are being received with 2 ESP8266 devices that were working reliably prior to the upgrade. Even command line instructions are not getting a response.
What I have tried:
stop and re-start the mosquitto service
stop and re-start mqtt in Karaf console
uninstall and re-install mqtt in PaperUI followed by re-boot
did updates in openhabian-config noting that mosquitto updated to 1.4.10
re-selected mosquitto in openhabian-config
re-booted
It does not go to the cause of the issue but I noted that âsystemctl status openhab2.serviceâ after re-boot shows âActive: inactive (dead)â and requires the service to be started. This is a change from previous behaviour.
None of the above actions have restored mosquitto functions.
My item state
String livRMStr_blind1 âRollerBlind 1 [%s]â { mqtt="<[localbrokerrb:Blind1_esp/posn:state:default]" }
continues to remain âNULLâ.
The mosquitto log contains:
1550533774: mosquitto version 1.4.10 (build date Wed, 13 Feb 2019 00:45:38 +0000) starting
1550533774: Config loaded from /etc/mosquitto/mosquitto.conf.
1550533774: Opening ipv4 listen socket on port 1883.
1550533774: Opening ipv6 listen socket on port 1883.
1550534193: New connection from ::1 on port 1883.
1550534194: Socket error on client , disconnecting.
1550534194: New connection from ::1 on port 1883.
1550534194: New client connected from ::1 as 5a037557-8e29-4086-b122-5f8e95dcbf74 (c1, k60).
1550534476: New connection from ::1 on port 1883.
1550534476: New client connected from ::1 as mosqpub/5058-openHABian (c1, k60).
1550534476: Client mosqpub/5058-openHABian disconnected.
1550534484: New connection from ::1 on port 1883.
1550534484: New client connected from ::1 as mosqpub/5063-openHABian (c1, k60).
1550534484: Client mosqpub/5063-openHABian disconnected.
1550534783: New connection from ::1 on port 1883.
1550534783: New client connected from ::1 as mosqpub/5712-openHABian (c1, k60).
1550534783: Client mosqpub/5712-openHABian disconnected.
1550534789: New connection from ::1 on port 1883.
Looks a bit like a KeepAlive timeout? Any clues to resolve this?