LoRa Gateway Bridge: Unsubscribing from topic when the gateway still send uplink packets

Hello.

I meet some problems when test the performance of your LoRa project and I was wondering if you could give me any help.

I have built the project including LoRa Gateway Bridge, LoRa Server and LoRa App Server. I used Locust for a simple test of the project’s performance. In the test, I simulated 100 devices and each device sent a packet about 5 seconds. In addition, each device can use a particular gateway to send and receive packetes. At first, the syetem worked fine. However, But after a few minutes, the downlink packets could not be received at all. I found many info massages: “unsubscribing from topic” from LoRa Gateway Bridge’s journal. I am sure that gateways are still send uplink packets to LoRa Gateway Bridge. Is this a problem?

The journal of LoRa Gateway Bridge is following:

For example: the gateway whose id is 35326b1ebf4ab41f send a uplink packet at 2018-11-29T10:51:31+08:00. However, LoRa Gateway Bridge unsubscribe the topic ‘gateway/35326b1ebf4ab41f/tx’ at 2018-11-29T10:51:40+08:00. The gateway also sent a new uplink packet at 2018-11-29T10:51:43+08:00.

time="2018-11-29T10:51:40+08:00" level=info msg="backend: config packet received" topic=gateway/d75004b492b94c46/config
time="2018-11-29T10:51:31+08:00" level=info msg="gateway: stat packet received" addr="10.206.200.232:31972" mac=35326b1ebf4ab41f
time="2018-11-29T10:51:31+08:00" level=info msg="gateway: rxpk packet received" addr="10.206.200.232:31972" data=gCljNQEAAAABRe0+Sn0AwHeL mac=35326b1ebf4ab41f
time="2018-11-29T10:51:31+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/35326b1ebf4ab41f/rx
time="2018-11-29T10:51:31+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/35326b1ebf4ab41f/stats
time="2018-11-29T10:51:40+08:00" level=info msg="gateway: stat packet received" addr="10.206.200.232:31979" mac=7cf69d3740d49c68
time="2018-11-29T10:51:40+08:00" level=info msg="gateway: rxpk packet received" addr="10.206.200.232:31979" data=gCsZHAEAAAABGTgz63sMoKoY mac=7cf69d3740d49c68
time="2018-11-29T10:51:40+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/7cf69d3740d49c68/rx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/7cf69d3740d49c68/stats
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/3317e6d07fb16f0f/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/35326b1ebf4ab41f/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/35326b1ebf4ab41f/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/a154a309e73b2c34/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/a154a309e73b2c34/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/b12f6a07af7be934/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/b12f6a07af7be934/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/627f2b48d54ae6ea/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/627f2b48d54ae6ea/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/c5cabd33b27b56f6/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/c5cabd33b27b56f6/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/02038dd444f75b03/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/02038dd444f75b03/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/8090d95342bf0bc5/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/8090d95342bf0bc5/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/bdb20aaf5f702ca5/tx
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/bdb20aaf5f702ca5/config
time="2018-11-29T10:51:40+08:00" level=info msg="backend: unsubscribing from topic" topic=gateway/d75004b492b94c46/tx
time="2018-11-29T10:51:43+08:00" level=info msg="gateway: stat packet received" addr="10.206.200.232:31972" mac=35326b1ebf4ab41f
time="2018-11-29T10:51:43+08:00" level=info msg="gateway: rxpk packet received" addr="10.206.200.232:31972" data=gCljNQEAAAABRe0+Sn0AwHeL mac=35326b1ebf4ab41f
time="2018-11-29T10:51:43+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/35326b1ebf4ab41f/rx
time="2018-11-29T10:51:43+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/35326b1ebf4ab41f/stats
time="2018-11-29T10:51:43+08:00" level=info msg="gateway: stat packet received" addr="10.206.200.232:31952" mac=7bb13bf162c52841
time="2018-11-29T10:51:43+08:00" level=info msg="gateway: rxpk packet received" addr="10.206.200.232:31952" data=gEW2GgAAAAABfPQmROaPZwPC mac=7bb13bf162c52841
time="2018-11-29T10:51:43+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/7bb13bf162c52841/rx
time="2018-11-29T10:51:43+08:00" level=info msg="backend: publishing packet" qos=0 topic=gateway/7bb13bf162c52841/stats

A post was merged into an existing topic: Lora-gateway-bridge: unsubscribing from topic