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

Significant number of uplink packets are not being transmitted #308

Open
CanEmreUnal opened this issue Dec 20, 2024 · 13 comments
Open

Significant number of uplink packets are not being transmitted #308

CanEmreUnal opened this issue Dec 20, 2024 · 13 comments

Comments

@CanEmreUnal
Copy link

We are experiencing a noticeable decrease in packet arrivals to our ChirpStack LNS over the last three days. Specifically, the packet reception rate has dropped by approximately 1/3 compared to previous levels.

Here is the current configuration for reference:

{
  "org": {
    "oui": 26,
    "owner": "13Js6uZSrSU9bnKeGGw6YM91j4rWEhvBuNkQj7evKHT1XiTsM47",
    "payer": "112tbU2H7bwDrRPHK8vGpC1VnVHBg914WKenEbhjiyZZHg8qEJgr",
    "delegate_keys": [
      "112tbU2H7bwDrRPHK8vGpC1VnVHBg914WKenEbhjiyZZHg8qEJgr"
    ],
    "locked": false
  },
  "net_id": "000024",
  "devaddr_constraints": [
    {
      "start_addr": "480008D8",
      "end_addr": "480008DF"
    }
  ]
}
@macpie
Copy link
Member

macpie commented Dec 20, 2024

Could you provide your ROUTE_ID? As well as location (US/EU) ?

@CanEmreUnal
Copy link
Author

CanEmreUnal commented Dec 20, 2024 via email

@macpie
Copy link
Member

macpie commented Dec 20, 2024

Checking

@macpie
Copy link
Member

macpie commented Dec 20, 2024

I think it should be fixed now, for some reason the Config Service did not provide your devaddr_range ...

@CanEmreUnal
Copy link
Author

CanEmreUnal commented Dec 20, 2024 via email

@macpie
Copy link
Member

macpie commented Dec 20, 2024

It should be immediate, but your devices will need to transmit of course.

@CanEmreUnal
Copy link
Author

CanEmreUnal commented Dec 20, 2024 via email

@macpie
Copy link
Member

macpie commented Dec 20, 2024

I just ran an update on all the servers and I can confirm that your route is everywhere now (just in case the hotspot transmitting your device's data was routed threw another server than one in the EU).

If data is still not showing up soonish, I can try to track your data:

  1. Uplink via devaddr.
  2. Joins via dev EUI ( DO NOT POST your APP EUI).
  3. Or via a hotspot name that the device usually goes threw.

@CanEmreUnal
Copy link
Author

It seems like they are gradually coming back online. Thank you for your efforts.
However, we are still wondering about the root cause and whether this issue might recur in the future.

@macpie
Copy link
Member

macpie commented Dec 20, 2024

This is most likely a disconnect between HPR and Config Service (that holds all the routing infos). I have seen this happen once or twice.

I will keep this open and try to see if we can at least add metrics around this specific issue (missing devaddr range in route) and see if we can fix this by retrying in case we don't get one (range).

Note that this is an infrequent hedge case but nonetheless annoying and that should be fixed.

@pangguanyu
Copy link

pangguanyu commented Jan 7, 2025

We are facing similar issue now. Could you please take a look? Uplink log confirmed successfully to router on Gateway, but not sent to chirpstack.BTW, we have 2 sensors. We are testing them together. 1 is sending data every 20s, another one is sending every 5minutes/30minutes. If we keep the 20s sensor online, everything looks good. But if we stop sending data from it, the sensor sending data every 5min/30min will have data loss. @macpie

@pangguanyu
Copy link

pangguanyu commented Jan 7, 2025

e6410b10-e2a3-4f70-bb18-7045c5ade0cd

@macpie
Copy link
Member

macpie commented Jan 7, 2025

We are facing similar issue now. Could you please take a look? Uplink log confirmed successfully to router on Gateway, but not sent to chirpstack.BTW, we have 2 sensors. We are testing them together. 1 is sending data every 20s, another one is sending every 5minutes/30minutes. If we keep the 20s sensor online, everything looks good. But if we stop sending data from it, the sensor sending data every 5min/30min will have data loss. @macpie

How do you stop the 1st device from sending? It sounds like to me that when you disable that device you also disable the 2nd one.

FYI: I cannot debug anything from a LNS' device ID. Please see #308 (comment)

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

3 participants