TheThingsIndustries / lorawan-stack-docs

Documentation for The Things Stack
Apache License 2.0
32 stars 65 forks source link

Improve Gateway troubleshooting guide #987

Closed ymgupta closed 1 year ago

ymgupta commented 1 year ago

Summary

Additions to Gateway troubleshooting guide:

  1. My gateway backhaul (cellular, Ethernet, or WiFi) consumes a lot of data. How do I optimize it?
  2. My gateways are receiving all other LoRaWAN traffic and non-LoRaWAN traffic from the devices in its vicinity. How to filter the unregistered sensors data at the gateway level?
  3. I'm seeing "Gateway missed too many pongs” warnings in the gateway live events. What is causing this?

Why do we need this?

Adding common queries on Gateways to the Gateway troubleshooting documentation will be useful for the Users.

What is already there? What do you see now?

Troubleshooting Gateways

What is missing? What do you want to see?

Address the above-mentioned queries in the documentation.

Insights:

  1. My gateway backhaul (cellular, Ethernet, or WiFi) consumes a lot of data. How do I optimize it?

Gateway data consumption is influenced by various factors such as:

We recommend contacting the Gateway manufacturer to gather insights on the data consumption, and how it can be optimised further.


  1. My gateways are receiving all other LoRaWAN traffic and non-LoRaWAN traffic from the devices in its vicinity. How to filter the unregistered sensors data at the gateway level?

In general, a gateway will receive all other LoRaWAN traffic and non-LoRaWAN traffic from the devices in its vicinity and forwards it to the Network Server. Regarding filtering of the unregistered sensors data at the gateway level, below are possibilities:


  1. I'm seeing "Gateway missed too many pongs” warnings in the gateway live events. What is causing this?

The reported error could be due to the below.

The Gateway server disconnects LoRa Basics Station gateways that stop sending pongs to server ping, it will get disconnected only after missing at least 2 Pongs. Gateways which doesn't send pongs to server ping will face issues. The Things Stack will not take any actions for those gateways which doesn't send pongs. However, it is always recommended for the gateway vendors to support WS pong. Ref: https://github.com/TheThingsNetwork/lorawan-stack/pull/4859 (refer to the Changes section to see the implementation at the TTS level)

How do you propose to document this?

...

Can you do this yourself and submit a Pull Request?

No, @nejraselimovic

nejraselimovic commented 1 year ago

For Basics Station gateways, we have an open issue on GitHub to configure the NetIDs to filter the device addresses that the Gateway will forward to the stack. Ref: https://github.com/TheThingsNetwork/lorawan-stack/issues/3909

We don't really want this in our documentation. When this is implemented, we can add it then.