eclipse / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
8.93k stars 2.37k forks source link

Offline message are not received with mosquitto > 1.4.12 #1337

Open ilovemilk opened 5 years ago

ilovemilk commented 5 years ago

Hi I can't receive offline messages on the mosquitto broker with all versions newer than 1.4.12.

Setup:

mosquitto.conf

pid_file /var/run/mosquitto.pid

persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log

What has changed from version 1.4.12 to e.g. 1.5.8?

ralight commented 5 years ago

Do you have any more details about your environment? I'm guessing you're using Docker?

This is me using a fresh compiled mosquitto to receive some offline messages:

https://asciinema.org/a/QGy47xnQxtUtTLEdKxRpHpDZn

If you can replicate that, then we can be sure it is a part of your setup and can narrow down the problem.