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
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.
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 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
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 ?
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.
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.
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。
Our lora-gateway-bridge is unsubscribing from only gateway/{{.MAC}}/tx and gateway/{{.MAC}}/config while rx messages are still coming in. Does this still fall under the auto unsubscribe code?
I have the gateway-bridge directly on a gateway installed. In cases where I’m loosing internet-connection and get connection back (on the GW), I see afterwards the ‘unsubscribe topic" topic="gateway/a84041ffff1bcb53/command/#’. After this log entry is no re-subscription to that topic.
As result, I’m not able to receive the acknowledge from a confirmed sensor-message.
Do you have an idea why there is no re-subscription or why there is an unsubscription?
Hi Brocaar!
I’m a colleague of hasiflo.
We had the problem that the gateway hasn’t resubscribed to the server when we have lost the internet connection on the gateway.
We have investigated the problem and we saw that the function reconnectLoop in internal/integration/mqtt/backend.go will not have any effect because b.auth.ReconnectAfter is always 0.
Could this be the reason for our behaviour which has descriped hasiflo in his last post?
We have changed the reconnectLoop so that it looks that it would work for us.
func (b *Backend) reconnectLoop() {
for{
if b.closed {
break
}
time.Sleep(30)
if len(b.gateways) == 0{
log.Info(“reconnectLoop: before mqttReconnectCounter”)
mqttReconnectCounter().Inc()
b.disconnect()
b.connectLoop()
}
}
}
We are using the gateway bridge version 3.2.1. Maybe you have any suggestion if you have expierences with similar behaviours.
Thank you for your great work.
Best regards!
Michael
Is this log related to the issue described in this topic? It looks to me that it’s the same. Is there any fix for that in new version of GatewayBridge? I’m currently using version 3.0.0 on Windows. I have two instanances of the server, on both i experience the same issue. Only restart of the service helps to start collecting data once again.
Hi! This is also happening to us, sometimes the Gateway Bridge unsubscribes from it’s topic and it will never resubscribe again. This happens on v3.4.1.
Mostly on gateway boot up. Here is the log:
After some time (two weeks or so) the gateway bridge just stops working and I have to restart it to make it work again. It’s running on docker and the Version is 3.3
In the next version that will be released soon I have done some refactoring in the subscribe / unsubscribe behavior. We found that in some cases (in this case a gateway with a cellular back haul which during initialization blocked Go from sending UDP packets), there is a scenario where a race-condition might happen.
Hi Everyone,
Sadly I’m still facing with auto unsubscribe problem.
Based on the previous @brocaar comment, I tried to upgrade from my previous version.
Actually I run v3.8.0 docker image of the Gateway Bridge (pulled from docker hub registry) but unfortunately the problem persists.
In my experience, seems that it can work for a couple of weeks, after that unsubscribing from topics occurs. The only solution atm is restart the pod, and everything come back to work correctly.
I wondering if this issue affect only containerized version of the gw bridge or if the problem happens also on the others type of installations.
Below a log extraction showing the last time I encountered the problem:
I have seen issues with UDP routing within Docker in the past, so this could be related. In our case the UDP routing seemed stale and therefore not routed to the Docker container.
Hi Brocaar!
In my case, lora-gateway-bridge can still receive the packages from gateways and receive the reply from loraserver. But it stops sending packages to gateways. We use dockers to deploy ChirpStack and now the solution of this situation is to restart the docker of lora-gateway-bridge.