Incoming Links can crash the dashboard #2
Closed
opened 10 months ago by dominic
·
3 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Situation: Hotspot is connected to a reflector and e.g. an Openspot connects to the hotspot (gateway).
That results in something like this in Links.log
Connections in the log of DStarGateway look like this:
As soon as the Openspot connects the dashboard dies. (Line numbers may differ because I added some comments in the file)
This continues in a loop.
I managed to let the dashboard not die when I changed line 86 from the original index.js to also include the regexp matching in the if-clause.
That works for now, though the incoming Link is not shown on the dashboard itself.
I will look into this after next week, as I will be at Hamcation. It may be a parsing error.
I don't have an OpenSpot to test with, though I know the OpenSpot 4s are causing issues on DPLUS reflectors, most notably on REF035 -- Of course the manufacturer claims it is not their fault.
The reason it won't show on the Dashboard, is likely due to a parsing error.
Was closed by accident.
Yes no problem, just wanted to let you know about this. I'm using Openspot2 if that matters, but this will also be the problem when a Pi-Star or similar will connect as its proabably the incoming link that causes confusion when parsing the Links.log file (because the regex matching sting will not match on this line-they differ)
This is basically what I was doing, just linking another dstar gateway to another.
https://www.youtube.com/watch?v=CkY9PrroE58&t=764s