-
Notifications
You must be signed in to change notification settings - Fork 306
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
Stuck on previous digipeater #534
Comments
Hello John, |
I see the same problem when the second connect attempt is via KF6ANX-8. The problem stops when I disconnect the TCP connection from my client to Direwolf and then start a new TCP connection. These behaviors are shown in the attached file via-kf6anx-8.txt. My AGW client is chatter in agwpe-tools. I'm using a new version, which I'm developing but have not released. I plan to release it soon. I can give you a pre-release copy of chatter.exe for Windows, if you like. The released version of chatter doesn't trigger this problem, presumably because it creates a new TCP connection for each AX.25 connection. |
I can confirm the same behaviour when using Paracon, my AGWPE packet terminal, with Direwolf. As an additional experiment, after the failed use of N0CALL, I made a connection attempt using 2 digipeaters, just in case changing the count might nudge Direwolf into the correct behaviour, but the result was the same - Direwolf continued to use N0CALL and only N0CALL. A very quick look at the code seems to show that the correct list of digipeaters gets at least as far as |
There is actually a wider problem here. If an AGWPE client makes a connection from owncall O to peercall P via digipeater D1, successful or otherwise, and then later attempts to make another connection from O to P, but this time via digipeater D2, Direwolf will still try to use D1 to make the connection. In fact, even if the client subsequently attempts to make a connection directly from O to P without specifying a digipeater, Direwolf will still try to use D1. Conversely, if the client attempts to make a connection directly from O to P, and then later attempts to make a connection from O to P using digipeater D1, Direwolf will not use D1. In short, whatever the state of digipeaters is for a first connection between O and P will remain in place for the remainder of the AGWPE client session. The problem is with the maintenance of This means that, when the attempt to connect through an invalid digipeater fails (or in fact when any connection attempt has completed, successfully or otherwise), the corresponding entry remains in the When It would seem that some cleanup of the |
If an attempt to connect via a digipeater fails, a new attempt to connect via a different digipeater uses the previous digipeater (and consequently fails). Direwolf should use the digipeater specified in the new 'v' request.
Two files are attached, copied from the output of Direwolf with the command line option '-d au'. The file via-n0call.txt shows two consecutive connection attempts, which both fail because there is no digipeater with call sign N0CALL. The file via-kjohn.txt shows a successful connection, using the same 'v' request as in via-n0call.txt.
I used Windows 8.1, Direwolf version 1.7 and a DRA-65 audio adapter.
via-n0call.txt
via-kjohn.txt
The text was updated successfully, but these errors were encountered: