Lora-gateway-bridge: unsubscribing from topic


#1

Hello.
I have a problem, at some point server stops receiving packets from gateway, but I’m sure that on the gateway side the packages are sent, that is, the problem is with the server.
I open journal from lora-gateway-bridge and in the bottom I see info massage: unsubscribing from topic. But I didn’t unsubscribing from anything. Is this a problem?
Server was installing on fresh and clean Ubuntu 17.10 using quick install guide.
Any solutions?
Here is copy-paste from journal:
journalctl -u lora-gateway-bridge -f -n 100

Connecting .***.***. to port 3002, please wait…
login as:
ubuntu@ password:
Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-36-generic x86_64)

Могут быть обновлены 0 пакетов.
0 обновлений касаются безопасности системы.

Last login: Tue Mar 13 01:36:26 2018 from 178.219.88.23

journalctl -u lora-gateway-bridge -f -n 100
– Logs begin at Mon 2018-03-12 14:21:33 EET. –
Мар 12 19:48:01 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:01+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:48:01 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:01+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:48:10 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:10+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:48:10 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:10+02:00” level=info msg=“gateway: rxpk packet received” addr=“46.211.65.49:50544” data=QM3MPwcA6wEBVuzLFP/nWXnnfM38qdioN/5L mac=aa755a0048050130
Мар 12 19:48:10 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:10+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:48:10 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:10+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/rx
Мар 12 19:48:10 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:10+02:00” level=info msg=“backend: packet received” topic=gateway/aa755a0048050130/tx
Мар 12 19:48:10 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:10+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullResp
Мар 12 19:48:11 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:11+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:48:11 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:11+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:48:22 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:22+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:48:22 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:22+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:48:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:27+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:48:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:27+02:00” level=info msg=“gateway: stat packet received” addr=“46.211.65.49:50544” mac=aa755a0048050130
Мар 12 19:48:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:27+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/stats
Мар 12 19:48:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:27+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:48:31 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:31+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:48:31 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:31+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:48:33 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:33+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:48:33 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:33+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:48:33 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:33+02:00” level=info msg=“gateway: rxpk packet received” addr=“46.211.65.49:50544” data=QM3MPwcA7AEB7+YRqAckHfIaimpaU0+HYV+w mac=aa755a0048050130
Мар 12 19:48:33 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:33+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/rx
Мар 12 19:48:34 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:34+02:00” level=info msg=“backend: packet received” topic=gateway/aa755a0048050130/tx
Мар 12 19:48:34 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:34+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullResp
Мар 12 19:48:34 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:34+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=TXACK
Мар 12 19:48:34 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:34+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/ack
Мар 12 19:48:41 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:41+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:48:41 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:41+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:48:52 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:52+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:48:52 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:52+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:48:54 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:54+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:48:54 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:54+02:00” level=info msg=“gateway: rxpk packet received” addr=“46.211.65.49:50544” data=QM3MPwcA7QEBlfe8JZd0nWqdCng6+Bszevde mac=aa755a0048050130
Мар 12 19:48:54 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:54+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/rx
Мар 12 19:48:54 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:54+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:48:55 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:55+02:00” level=info msg=“backend: packet received” topic=gateway/aa755a0048050130/tx
Мар 12 19:48:55 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:55+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullResp
Мар 12 19:48:55 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:55+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=TXACK
Мар 12 19:48:55 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:55+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/ack
Мар 12 19:48:58 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:58+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:48:58 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:58+02:00” level=info msg=“gateway: stat packet received” addr=“46.211.65.49:50544” mac=aa755a0048050130
Мар 12 19:48:58 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:58+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:48:58 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:48:58+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/stats
Мар 12 19:49:02 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:02+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:49:02 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:02+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:49:12 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:12+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:49:12 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:12+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“gateway: rxpk packet received” addr=“46.211.65.49:50544” data=QM3MPwcA7gEBRatKq2g063HPC1bw+2ShoLom mac=aa755a0048050130
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/rx
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“backend: packet received” topic=gateway/aa755a0048050130/tx
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullResp
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=TXACK
Мар 12 19:49:17 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:17+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/ack
Мар 12 19:49:23 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:23+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:49:23 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:23+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:49:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:27+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:49:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:27+02:00” level=info msg=“gateway: stat packet received” addr=“46.211.65.49:50544” mac=aa755a0048050130
Мар 12 19:49:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:27+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/stats
Мар 12 19:49:27 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:27+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:49:33 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:33+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:49:33 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:33+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:49:38 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:38+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:49:38 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:38+02:00” level=info msg=“gateway: rxpk packet received” addr=“46.211.65.49:50544” data=QM3MPwcA7wEBYblN9cDT4tKOXggA3JQBC54X mac=aa755a0048050130
Мар 12 19:49:38 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:38+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/rx
Мар 12 19:49:38 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:38+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:49:38 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:38+02:00” level=info msg=“backend: packet received” topic=gateway/aa755a0048050130/tx
Мар 12 19:49:38 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:38+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullResp
Мар 12 19:49:39 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:39+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=TXACK
Мар 12 19:49:39 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:39+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/ack
Мар 12 19:49:42 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:42+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:49:42 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:42+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:49:52 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:52+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:49:52 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:52+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“gateway: rxpk packet received” addr=“46.211.65.49:50544” data=QM3MPwcA8AEBTSesOqrvQGQraBcetrTu+vke mac=aa755a0048050130
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/rx
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“gateway: stat packet received” addr=“46.211.65.49:50544” mac=aa755a0048050130
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/stats
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“backend: packet received” topic=gateway/aa755a0048050130/tx
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullResp
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=TXACK
Мар 12 19:49:59 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:49:59+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/ack
Мар 12 19:50:02 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:02+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:50:02 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:02+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:50:13 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:13+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:50:13 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:13+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:50:19 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:19+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushData
Мар 12 19:50:19 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:19+02:00” level=info msg=“gateway: rxpk packet received” addr=“46.211.65.49:50544” data=QM3MPwcA8QEBnWyk+UHXMvx4TEbTNGq4y690 mac=aa755a0048050130
Мар 12 19:50:19 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:19+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/rx
Мар 12 19:50:19 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:19+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50544” protocol_version=2 type=PushACK
Мар 12 19:50:19 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:19+02:00” level=info msg=“backend: packet received” topic=gateway/aa755a0048050130/tx
Мар 12 19:50:19 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:19+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullResp
Мар 12 19:50:20 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:20+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=TXACK
Мар 12 19:50:20 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:20+02:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/aa755a0048050130/ack
Мар 12 19:50:22 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:22+02:00” level=info msg=“gateway: received udp packet from gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullData
Мар 12 19:50:22 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:50:22+02:00” level=info msg=“gateway: sending udp packet to gateway” addr=“46.211.65.49:50556” protocol_version=2 type=PullACK
Мар 12 19:51:35 ubu-VM lora-gateway-bridge[802]: time=“2018-03-12T19:51:35+02:00” level=info msg=“backend: unsubscribing from topic” topic=gateway/aa755a0048050130/tx


Issue with downlink
LoRa Gateway Bridge: Unsubscribing from topic when the gateway still send uplink packets
#2

The unsubscribe happens when LoRa Gateway Bridge doesn’t receive any data from the gateway for one or two minutes. It re-subscribes when new data comes in.

See https://docs.loraserver.io/lora-gateway-bridge/install/debug/ for debugging suggestions.


#3

Thanks @brocaar
Now I realized what the problem is, it was in the 3g modem I used on gatewey.

Sorry, but can you help me with this?
I’m using: 3G modem - Huawei e1550, sakis3g and UMTSkeeper to handle connection. Packet_forwarder from semtech repository. Packet_forwarder autostarts on boot with a delay of 180 seconds in order for the 3g modem to connect to the network. It works fine until the 3g modem loses its connection (2-3 hours after boot it works than reconnect) and the UMTSkeeper regains communication. After this, packet_forwarder stops sending data to the server. It seems to me that packet_forwarder does not know how to monitor the network connection state and if there are any drop, then it does not reconnect itself to the network. Please help me, how to get it to autoconnect when the network is restored?

Some logs and information:
Here is a umtskeeper.log when its reconnect:

2018-03-13 20:27:32 Testing connection…
2018-03-13 20:27:40 Success… we are online!
2018-03-13 22:11:39 Offline: Network device ppp0 not found or not connected. (n$
2018-03-13 22:11:43 Internet connection is DOWN. Calling Sakis3G connect…
Sakis3G cmdLine: nice /home/pi/3g/sakis3g connect --sudo --console USBINTERFA$
Sakis3G says…
E1550 connected to KYIVSTAR (25503).
Error: /tmp/sakis3gz.10107.sakis3g: line 3218: warning: command substitution:$

2018-03-13 22:12:11 Testing connection…
2018-03-13 22:12:20 Success… we are online!

Here is ifconfig for 3g modem iterface:

ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
inet 10.151.60.124  netmask 255.255.255.255  destination 10.64.64.64
ppp  txqueuelen 3  (Point-to-Point Protocol)
RX packets 106  bytes 7905 (7.7 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 108  bytes 7617 (7.4 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Here is tcpdump -AUq port 3000 for port who sends data to server (and when 3g modem disconnects, ppp0 interface disappears from the ifconfig list):

listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
**
**
tcpdump: pcap_loop: The interface went down
3124 packets captured
3124 packets received by filter
0 packets dropped by kernel

Here is autostart script for packet_forwarder:

#!/bin/bash
sleep 180
sleep 10
gpio mode 7 out
gpio write 7 1
sleep 0.5
gpio write 7 0
sleep 0.5
cd packet_forwarder/lora_pkt_fwd/
./lora_pkt_fwd
exit 0


#4

Solved.
By installing lora-gateway-bridge on gateway.
Seems like lora-gateway-bridge monitors the interfaces and connects to the one on which there is an output to the intet, right @brocaar ?


#5

I’m not sure how Go handles a network interface change, but given that it solved your issue, I think it will re-connect properly on a network interface change.


#6

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

#7

If this is a simulation, please make sure you’re implementing the PROTOCOL.TXT properly.


#8

Thanks very much. I am very glad that I have solved the problem. The possible reason for this problem is that the simulated gateway only send Pull_Data once at the beginning。