I use a very simple internal MQTT broker
Certainly due to a second installation or a bad usage, the broker now returns messages twice (exactly the same).
I guess that the broker library has an internal list of users and that my name is duplicated in this list ????
On the cloud, I found people having the same issue.
When I install the broker, the log indicates
A complete reinstallation of my broker does not solve the issue.
Is there a way to solve this problem ?
B4X:
Sub AppStart (Args() As String)
lstUsers.Initialize
brokerStarted = False
If brokerStarted = False Then
broker.Initialize("", port)
broker.DebugLog = True 'False
broker.Start
brokerStarted = True
users.Initialize
End If
Log("Broker started ") ' & $"Server (${server.GetMyIP})"$)
StartMessageLoop ' in order to run/wait indefinitely for events
End Sub
Certainly due to a second installation or a bad usage, the broker now returns messages twice (exactly the same).
I guess that the broker library has an internal list of users and that my name is duplicated in this list ????
On the cloud, I found people having the same issue.
When I install the broker, the log indicates
But this "moquette_store.mapdbr" file does not exist un my tempjars directoryPersistent store file: /home/dietpi/B4JBridge/tempjars/moquette_store.mapdbr
A complete reinstallation of my broker does not solve the issue.
Is there a way to solve this problem ?