Not receiving any application data

Hello all,

I’ve built a device and I can send the data to the things LORAwan network. However, when I setup the application on the chirp-stack with the same details things network for device address, network session key and application session key, its not receiving the data. The gateway live LORWAN frames doesn’t show any packets either. What am i doing wrong?

Many thanks

Screen shot of things network settings :

Screen show of Chirpstack configuration :

If you can’t see any packets, first look into gateway packet forwarder configuration, look into the PF log, also make sure the gateway is connected to chirpstack gateway bridge and sending data to it.

1 Like

Everything is reporting ok for the servics. I’m not sure how to check the other settings, is there something you can suggest?

Here’s the log file for messages.

Aug 8 15:57:54 raspberrypi3 user.info chirpstack-gateway-bridge[747]: time=“2020-08-08T15:57:54Z” level=info msg=“backend/concentratord: stats event received” stats_id=f2633b1d-942c-4b51-a4fa-2cd71d385c79
Aug 8 15:57:54 raspberrypi3 user.info chirpstack-gateway-bridge[747]: time=“2020-08-08T15:57:54Z” level=info msg=“integration/mqtt: publishing event” event=stats qos=0 stats_id=f2633b1d-942c-4b51-a4fa-2cd71d385c79 topic=gateway/b827ebfffe9046fd/event/stats
Aug 8 15:57:54 raspberrypi3 user.info chirpstack-network-server[366]: time=“2020-08-08T15:57:54Z” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=b827ebfffe9046fd stats_id=f2633b1d-942c-4b51-a4fa-2cd71d385c79
Aug 8 15:57:54 raspberrypi3 user.warn chirpstack-network-server[366]: time=“2020-08-08T15:57:54Z” level=warning msg=“gateway/stats: stats received by unknown gateway” ctx_id=f2633b1d-942c-4b51-a4fa-2cd71d385c79 gateway_id=b827ebfffe9046fd
Aug 08 15:57:55 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902275.289960688s
Aug 08 15:57:56 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902276.290323633s
Aug 08 15:57:57 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902277.290698765s
Aug 08 15:57:58 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902278.290903637s
Aug 08 15:57:59 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902279.291097934s
Aug 08 15:58:00 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902280.291293377s
Aug 08 15:58:01 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902281.291666111s
Aug 08 15:58:02 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902282.292035094s
Aug 08 15:58:03 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902283.292442097s
Aug 08 15:58:04 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902284.292814569s
Aug 08 15:58:05 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902285.293186727s
Aug 08 15:58:06 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902286.293557219s
Aug 08 15:58:07 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902287.293763803s
Aug 08 15:58:08 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902288.293970231s
Aug 08 15:58:09 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902289.294177283s
Aug 08 15:58:10 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902290.294385741s
Aug 08 15:58:11 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902291.294594459s
Aug 08 15:58:12 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902292.294802603s
Aug 08 15:58:13 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902293.295013872s
Aug 08 15:58:14 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902294.295220973s
Aug 08 15:58:15 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902295.295411824s
Aug 08 15:58:16 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902296.295602049s
Aug 08 15:58:17 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902297.295796597s
Aug 08 15:58:18 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902298.295990831s
Aug 08 15:58:19 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902299.296355169s
Aug 08 15:58:20 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902300.2967206s
Aug 08 15:58:21 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902301.297093166s
Aug 08 15:58:22 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902302.297305784s
Aug 08 15:58:23 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902303.297521786s
Aug 08 15:58:24 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902304.29774534s
Aug 08 15:58:24 raspberrypi3 user.info chirpstack-concentratord-sx1301[508]: Publishing stats event, stats_id: 10803e3e-fbd0-4f84-82bb-0cd2fdbac1fb, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Aug 8 15:58:24 raspberrypi3 user.info chirpstack-gateway-bridge[747]: time=“2020-08-08T15:58:24Z” level=info msg=“backend/concentratord: stats event received” stats_id=10803e3e-fbd0-4f84-82bb-0cd2fdbac1fb
Aug 8 15:58:24 raspberrypi3 user.info chirpstack-gateway-bridge[747]: time=“2020-08-08T15:58:24Z” level=info msg=“integration/mqtt: publishing event” event=stats qos=0 stats_id=10803e3e-fbd0-4f84-82bb-0cd2fdbac1fb topic=gateway/b827ebfffe9046fd/event/stats
Aug 8 15:58:24 raspberrypi3 user.info chirpstack-network-server[366]: time=“2020-08-08T15:58:24Z” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=b827ebfffe9046fd stats_id=10803e3e-fbd0-4f84-82bb-0cd2fdbac1fb
Aug 8 15:58:24 raspberrypi3 user.warn chirpstack-network-server[366]: time=“2020-08-08T15:58:24Z” level=warning msg=“gateway/stats: stats received by unknown gateway” ctx_id=10803e3e-fbd0-4f84-82bb-0cd2fdbac1fb gateway_id=b827ebfffe9046fd
Aug 08 15:58:25 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902305.297975404s
Aug 08 15:58:26 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902306.298199113s
Aug 08 15:58:27 raspberrypi3 user.warn chirpstack-concentratord-sx1301[508]: GPS time reference is not valid, age: 1596902307.298402301s

Here’s log file for boot:

raspberrypi3:/var/log$ sudo head -n 200 boot
Sun Aug 2 15:01:35 2020: Sun Aug 2 15:01:35 UTC 2020
Sun Aug 2 15:01:35 2020: INIT: Entering runlevel: 5
Sun Aug 2 15:01:35 2020: Configuring network interfaces… done.
Sun Aug 2 15:01:35 2020: Starting system message bus: dbus.
Sun Aug 2 15:01:35 2020: Starting random number generator daemon.
Sun Aug 2 15:01:35 2020: Starting Connection Manager
Sun Aug 2 15:01:36 2020: Starting Dropbear SSH server: dropbear.
Sun Aug 2 15:01:36 2020: Starting rpcbind daemon…done.
Sun Aug 2 15:01:36 2020: Starting advanced power management daemon: No APM support in kernel
Sun Aug 2 15:01:36 2020: (failed.)
Sun Aug 2 15:01:36 2020: Starting bluetooth: bluetoothd.
Sun Aug 2 15:01:36 2020: Starting chirpstack-application-server
Sun Aug 2 15:01:36 2020: Starting chirpstack-concentratord
Sun Aug 2 15:01:36 2020: Starting chirpstack-gateway-bridge
Sun Aug 2 15:01:36 2020: Starting chirpstack-network-server
Sun Aug 2 15:01:36 2020: Starting ntpd: done
Sun Aug 2 15:01:37 2020: Starting postgresql-server service: [ OK ]
Sat Aug 8 15:01:49 2020: Starting syslogd/klogd: done
Sat Aug 8 15:01:49 2020: wireguard is disabled, update /etc/default/wireguard
Sat Aug 8 15:01:49 2020: * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Sat Aug 8 15:01:49 2020: …done.
Sat Aug 8 15:01:49 2020: Starting Telephony daemon
Sat Aug 8 15:01:49 2020: Starting Mosquitto message broker mosquitto
Sat Aug 8 15:01:49 2020: Starting swupdate …
Sat Aug 8 15:01:49 2020: Starting redis-server…
Sat Aug 8 15:01:49 2020: Cleaning up Redis append-only file
Sat Aug 8 15:01:49 2020: Swupdate v2020.04.0
Sat Aug 8 15:01:49 2020:
Sat Aug 8 15:01:49 2020: Licensed under GPLv2. See source distribution for detailed copyright notices.
Sat Aug 8 15:01:49 2020:
Sat Aug 8 15:01:49 2020: Registered handlers:
Sat Aug 8 15:01:49 2020: dummy
Sat Aug 8 15:01:49 2020: uboot
Sat Aug 8 15:01:49 2020: bootloader
Sat Aug 8 15:01:49 2020: lua
Sat Aug 8 15:01:49 2020: raw
Sat Aug 8 15:01:49 2020: rawfile
Sat Aug 8 15:01:49 2020: rawcopy
Sat Aug 8 15:01:49 2020: shellscript
Sat Aug 8 15:01:49 2020: preinstall
Sat Aug 8 15:01:49 2020: postinstall
Sat Aug 8 15:01:49 2020: [TRACE] : SWUPDATE running : [network_initializer] : Main loop Daemon
Sat Aug 8 15:01:49 2020: [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/sockinstctrl
Sat Aug 8 15:01:49 2020: [TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/swupdateprog
Sat Aug 8 15:01:49 2020: Connected to SWUpdate via /tmp/swupdateprog
Sat Aug 8 15:01:50 2020: AOF analyzed: size=4509459, ok_up_to=4509459, diff=0
Sat Aug 8 15:01:50 2020: AOF is valid
Sat Aug 8 15:01:50 2020: 466:C 08 Aug 2020 15:01:50.598 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
Sat Aug 8 15:01:50 2020: 466:C 08 Aug 2020 15:01:50.603 # Redis version=5.0.9, bits=32, commit=00000000, modified=0, pid=466, just started
Sat Aug 8 15:01:50 2020: 466:C 08 Aug 2020 15:01:50.603 # Configuration loaded
Sat Aug 8 15:01:50 2020: Starting MonitStarting Monit 5.26.0 daemon with http interface at [localhost]:2812
Sat Aug 8 15:01:50 2020: .