brocaar / chirpstack-application-server

ChirpStack Application Server is an open-source LoRaWAN application-server.
https://www.chirpstack.io
MIT License
498 stars 325 forks source link

Duplicate downlink in Multicast #508

Open Akior opened 4 years ago

Akior commented 4 years ago

What happened?

Perform a POST /api/multicast-groups/{multicast_queue_item.multicast_group_id}/queue app-server show 2 message on same BS with same fCnt изображение

What did you expect?

One message

Steps to reproduce this issue

Steps:

  1. add 2 NS, EU and RU (don't know this importance)
  2. create multicast group
  3. add device class C
  4. generate api Post

body: { "multicastQueueItem": { "data": "MTIz", "fCnt": 30000, "fPort": 5, "multicastGroupID": "29d20663-83b2-459c-9658-008ca6b7fdbb" } }

Could you share your log output?

Your Environment

Component Version
Application Server v3.10.0
Network Server v3.9.0
Gateway Bridge v3.9.1
Chirpstack API REST API
Geolocation Russia
Concentratord
Akior commented 4 years ago

Lora agent get exact one message, seems "cosmetic" bug

brocaar commented 3 years ago

How many gateways do you have? In some cases it is expected that one downlink payload is sent multiple times, e.g. when all devices can't be reached by a single gateway.

Akior commented 3 years ago

There are 6 gw. But lora agent visible only from one.

I get screenshot from GW logs, and agent get only one message not two, so there are duplicate log bug ?

How many gateways do you have? In some cases it is expected that one downlink payload is sent multiple times, e.g. when all devices can't be reached by a single gateway.