Open jimt opened 1 year ago
I've been logging the JSON for a few days, and it is happening more often than I had noticed. It is not always the last entry of the nodes
object.
For what it's worth, I have logged the protocol each node is connecting with, and it has happened with more than one protocol.
More logging and experimenting show the same stations appear with <LinkedModule> </LinkedModule>
in the xlxd.xml
file.
Looking back through the log file(s) for the affected nodes suggests that these stations have been removed because of keepalive timeouts... but actually not removed from either the XML file or the JSON notification. So far, I have seen it occur for both DMRmmdvm and DPlus clients.
Watching the JSON notification stream, occasionally, the final entry in the nodes array (the node that has just connected) JSON object will say
"linkedto":" "
rather than indicating the module it actually linked to. The next time a JSON "nodes" notification is generated because of another node connecting/disconnecting, the missinglinkedto
field will be properly filled in.It only happens once in a while, perhaps suggesting a race condition.
XLXd 2.5.3