-
Notifications
You must be signed in to change notification settings - Fork 63
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
Join requests received are considered as unexpected #2122
Comments
Hello @adcoly As discussed via chat I tried to replicate the situation via a test. Turn out we also support this fts settings cf here : https://github.com/Azure/iotedge-lorawan-starterkit/blob/72453e031f642e46b6d518c169e97d4ec9e91d73/Tests/Unit/NetworkServer/JsonHandlers/LnsDataTests.cs#L131C36-L131C36 So this can be our issue. My hypothesis is that some of the other settings are wrong. Could you please send me via IM a complete payload so I could try deeper troubleshooting... |
Hello @Mandur ! After few research on our side, we might have noticed something that could explain the behavior we have with those Chinese Gateways. In our "routerConfig" for those Gateway, the parameter "region" is set to "CN470". This region name might not be recognize by the LNS (it must only recognize "CN470RP1" or "CN470RP2"), and lead to this "unexpected" issue. Would it be possible to have something as the following screenshot to allow the region name to be "CN470" on the Gateway side, but keeping the "CN470RP1/2" on the LNS side ? (We wanted to do the test locally to change this part of the code and try on our Chinese site but we did not manage to get this time) |
Good catch @adcoly we will be providing a hotfix shortly so you can test it and integrate the fix in the next release |
Thank you for the hotfix. It has been deployed and will be tested in the incoming days. I'll keep you up to date on how the test goes :) |
Expected Behavior
I install two different gateways on the same Network.
The first one (lbs version 2.0.5) handle properly each device we work with.
The second has a different version of LBS (2.0.6) should also work (same configurations, same deployment).
Current Behavior
Join Requests handled by the second gateway are considered as "unexpected" by the LNS.
Context (Environment)
Device (Host) Operating System
Ubuntu 20.04
Architecture
x64
Container Operating System
Linux Containers
LoRaWAN Module Version
2.2.1
Docker
20.10.25+azure-2
Logs
We notice an additional parameter in the Join Request from the 2nd Gateway: "fts"
Here is a join request from the operational Gateway:
Here a "failing" join request from the 2nd Gateway:
The text was updated successfully, but these errors were encountered: