Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodes notification and XML linkedto sometimes blank #234

Open
jimt opened this issue Jan 28, 2023 · 2 comments
Open

Nodes notification and XML linkedto sometimes blank #234

jimt opened this issue Jan 28, 2023 · 2 comments

Comments

@jimt
Copy link
Contributor

jimt commented Jan 28, 2023

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 missing linkedto field will be properly filled in.

It only happens once in a while, perhaps suggesting a race condition.

XLXd 2.5.3

@jimt
Copy link
Contributor Author

jimt commented Jan 28, 2023

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.

@jimt
Copy link
Contributor Author

jimt commented Feb 11, 2023

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.

@jimt jimt changed the title Nodes notification linkedto sometimes blank Nodes notification and XML linkedto sometimes blank Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant