Summary
My end device keeps sending a join request and the join accept being accepted. Everything looks normal (to me), but something must be wrong somewhere, and I’m struggling to figure out, what it could be. And help or ideas are very much appreciated. Please see the logs below.
Logs
I’ve posted the logs from the live data tab of the end device in The Things Network below. Also the log from the gateway:
Logs from TTN (uploaded since too big for the post):
woody3536_live_data_1719484290368.json (210.3 KB)
Screenshot of Live Data tab in TTN:
Logs from gateway (logread
command):
root@eui-ac1f09fffe061440:~# logread
Thu Jun 27 10:30:21 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=3, timeonair=349, tm=1719484221
Thu Jun 27 10:30:21 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=3, tm=1719484221
Thu Jun 27 10:30:21 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=1, timeonair=349, tm=1719484221
Thu Jun 27 10:30:21 2024 user.debug basicstation[2450]: [SYN:VERB] Time sync rejected: quality=240 threshold=200
Thu Jun 27 10:30:22 2024 user.debug basicstation[2450]: [S2E:DEBU] ::1 diid=55332 [ant#0] - next TX start ahead by 4s147ms (10:30:26.513457)
Thu Jun 27 10:30:23 2024 user.debug basicstation[2450]: [SYN:VERB] Time sync rejected: quality=208 threshold=200
Thu Jun 27 10:30:26 2024 user.debug basicstation[2450]: [S2E:VERB] ::1 diid=55332 [ant#0] - starting TX in 49ms924us: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=6027070227A1000006940A059A (13 bytes)
Thu Jun 27 10:30:26 2024 user.info basicstation[2450]: [RAL:INFO] RAL_LGW: lgw_send done: count_us=1286923219.
Thu Jun 27 10:30:26 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-421 downlinkTqByAirtime: dr=3, timeonair=144, tm=1719484226
Thu Jun 27 10:30:26 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-423 downlinkTqByPkt: dr=3, tm=1719484226
Thu Jun 27 10:30:26 2024 user.info basicstation[2450]: [S2E:INFO] TX ::1 diid=55332 [ant#0] - dntxed: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=6027070227A1000006940A059A (13 bytes)
Thu Jun 27 10:30:26 2024 user.debug basicstation[2450]: [S2E:DEBU] Tx done diid=55332
Thu Jun 27 10:30:27 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=867300000 bw=0 sz=47 dr=7 40AC070227832D0706003B01E2DE516E8947FC673BE41E1F1C61E77F8C25CAD5FDD3EAC8630C0CDA55D3771ABCAAC1
Thu Jun 27 10:30:27 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=5, timeonair=92, tm=1719484227
Thu Jun 27 10:30:27 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=5, tm=1719484227
Thu Jun 27 10:30:27 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=4, timeonair=92, tm=1719484227
Thu Jun 27 10:30:38 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868300000 bw=0 sz=23 dr=9 00521403D07ED5B37050648DF53B91D8C769EA7724E87C
Thu Jun 27 10:30:38 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=3, timeonair=185, tm=1719484238
Thu Jun 27 10:30:38 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=3, tm=1719484238
Thu Jun 27 10:30:38 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=1, timeonair=185, tm=1719484238
Thu Jun 27 10:30:40 2024 user.info basicstation[2450]: [SYN:INFO] MCU/SX130X drift stats: min: +0.0ppm q50: -2.9ppm q80: -6.2ppm max: -10.0ppm - threshold q90: -6.7ppm
Thu Jun 27 10:30:40 2024 user.info basicstation[2450]: [SYN:INFO] Mean MCU drift vs SX130X#0: -2.7ppm
Thu Jun 27 10:30:42 2024 user.debug basicstation[2450]: [SYN:VERB] Time sync rejected: quality=233 threshold=200
Thu Jun 27 10:30:46 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=867900000 bw=0 sz=21 dr=7 40BDA030E080B11205EC9C3E6E55D8152C39CBAB93
Thu Jun 27 10:30:46 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=5, timeonair=51, tm=1719484246
Thu Jun 27 10:30:46 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=5, tm=1719484246
Thu Jun 27 10:30:46 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=7, timeonair=51, tm=1719484246
Thu Jun 27 10:30:46 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868300000 bw=2 sz=23 dr=9 00521403D07ED5B370811C51E36F2AC1FB7C1103B96404
Thu Jun 27 10:30:46 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=3, timeonair=185, tm=1719484246
Thu Jun 27 10:30:46 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=3, tm=1719484246
Thu Jun 27 10:30:46 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=1, timeonair=185, tm=1719484246
Thu Jun 27 10:30:48 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=867900000 bw=0 sz=21 dr=7 4056BE30E0805B4905F7C7AC29EF11143BFF727BFA
Thu Jun 27 10:30:48 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=5, timeonair=51, tm=1719484248
Thu Jun 27 10:30:48 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=5, tm=1719484248
Thu Jun 27 10:30:48 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=7, timeonair=51, tm=1719484248
Thu Jun 27 10:30:48 2024 user.debug basicstation[2450]: [S2E:DEBU] ::1 diid=55749 [ant#0] - next TX start ahead by 2s968ms (10:30:51.746277)
Thu Jun 27 10:30:49 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=867900000 bw=0 sz=43 dr=9 40F87C00270071B1012DBBD443806CA80DB2438EA49A11A37E246E5FCD23BD9B85E3D76709E4C7C1FB5220
Thu Jun 27 10:30:49 2024 user.debug basicstation[2450]: [RAL:DEBU] [CRC FAIL] 867.900MHz -15.25/-130.1 SF9/BW125 (mod=16/dr=9/bw=4) xtick=4e12e640 (1309861440) 43 bytes: 40F87C00270071B1012DBBD443806CA80DB2438EA49A11A37E246E5FCD23BD9B85E3D76709E4C7C1FB5220
Thu Jun 27 10:30:51 2024 user.debug basicstation[2450]: [S2E:VERB] ::1 diid=55749 [ant#0] - starting TX in 49ms769us: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=2083C9F3312DECEC05F93101..A4C40049 (33 bytes)
Thu Jun 27 10:30:51 2024 user.info basicstation[2450]: [RAL:INFO] RAL_LGW: lgw_send done: count_us=1312155985.
Thu Jun 27 10:30:51 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-421 downlinkTqByAirtime: dr=3, timeonair=247, tm=1719484251
Thu Jun 27 10:30:51 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-423 downlinkTqByPkt: dr=3, tm=1719484251
Thu Jun 27 10:30:51 2024 user.info basicstation[2450]: [S2E:INFO] TX ::1 diid=55749 [ant#0] - dntxed: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=2083C9F3312DECEC05F93101..A4C40049 (33 bytes)
Thu Jun 27 10:30:52 2024 user.debug basicstation[2450]: [S2E:DEBU] Tx done diid=55749
Thu Jun 27 10:30:55 2024 user.debug basicstation[2450]: [SYN:VERB] Time sync rejected: quality=219 threshold=200
Thu Jun 27 10:31:00 2024 cron.info crond[29308]: USER root pid 23628 cmd /mnt/mmcblk0p1/scripts/ws_job_every_minute.sh
Thu Jun 27 10:31:08 2024 user.info basicstation[2450]: [SYN:INFO] Time sync qualities: min=139 q90=219 max=240 (previous q90=200)
Thu Jun 27 10:31:12 2024 user.debug basicstation[2450]: [LOG:DEBU] logger read datas: aws-iot-stats
Thu Jun 27 10:31:12 2024 user.debug basicstation[2450]: [LOG:DEBU] logger write datas size: 592
Thu Jun 27 10:31:12 2024 user.debug basicstation[2450]: [LOG:DEBU] close logger connection [7].
Thu Jun 27 10:31:12 2024 user.info wisdm[2466]: [truncated] Update Statistic: {"state":{"reported":{"report":"stats","company":"woodsense","radio":[{"ifch":0,"freq":868100000,"dutycycle":0.231666667,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":1,"freq":868300000,"dutycycle":1.11166667,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":2,"freq":868500000,"dutycycle":0.636666667,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":3,"freq":867100000,"dutycycle":0,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":4,"freq":867300000,"dutycycle":0.015,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":5,"freq":867500000,"dutycycle":0,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":6,"freq":867700000,"dutycycle":0,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":7,"freq":867900000,"dutycycle":0.268333333,"uplink":0,"downlink":0,"mod":"LoRa MultiSF"},{"ifch":8,"freq":868300000,"dutycycle":0,"uplink":0,"downlink":0,"mod":"LoRa STD"},{"ifch":9,"freq":868800000,"dutycycle":0,"uplink":0,"downlink":0,"m
Thu Jun 27 10:31:12 2024 user.info wisdm[2466]: Update Statistic Accepted !!
Thu Jun 27 10:31:14 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868300000 bw=0 sz=60 dr=9 80C407022780000001AFF99D1B6AEFC3E1DB64E356DBFC139F5EFCC385A8DEA1D137B552E328A3281B3FA706AC1EE9C302AB5870740BB97755435B68
Thu Jun 27 10:31:14 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=3, timeonair=349, tm=1719484274
Thu Jun 27 10:31:14 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=3, tm=1719484274
Thu Jun 27 10:31:14 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=1, timeonair=349, tm=1719484274
Thu Jun 27 10:31:14 2024 user.debug basicstation[2450]: [S2E:DEBU] ::1 diid=56149 [ant#0] - next TX start ahead by 4s435ms (10:31:18.962536)
Thu Jun 27 10:31:18 2024 user.debug basicstation[2450]: [S2E:VERB] ::1 diid=56149 [ant#0] - starting TX in 49ms928us: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=60C4070227A1000006964D466A (13 bytes)
Thu Jun 27 10:31:18 2024 user.info basicstation[2450]: [RAL:INFO] RAL_LGW: lgw_send done: count_us=1339372315.
Thu Jun 27 10:31:18 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-421 downlinkTqByAirtime: dr=3, timeonair=144, tm=1719484278
Thu Jun 27 10:31:18 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-423 downlinkTqByPkt: dr=3, tm=1719484278
Thu Jun 27 10:31:18 2024 user.info basicstation[2450]: [S2E:INFO] TX ::1 diid=56149 [ant#0] - dntxed: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=60C4070227A1000006964D466A (13 bytes)
Thu Jun 27 10:31:19 2024 user.debug basicstation[2450]: [S2E:DEBU] Tx done diid=56149
Thu Jun 27 10:31:23 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868500000 bw=0 sz=21 dr=7 40586430E0C0727E05561FDD86DF19D183986AA979
Thu Jun 27 10:31:23 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=5, timeonair=51, tm=1719484283
Thu Jun 27 10:31:23 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=5, tm=1719484283
Thu Jun 27 10:31:23 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=2, timeonair=51, tm=1719484283
Thu Jun 27 10:31:23 2024 user.debug basicstation[2450]: [SYN:VERB] Time sync rejected: quality=267 threshold=219
Thu Jun 27 10:31:28 2024 user.info basicstation[2450]: [SYN:INFO] MCU/SX130X drift stats: min: +0.5ppm q50: -3.3ppm q80: -6.2ppm max: -10.0ppm - threshold q90: -6.7ppm
Thu Jun 27 10:31:28 2024 user.info basicstation[2450]: [SYN:INFO] Mean MCU drift vs SX130X#0: -3.1ppm
Thu Jun 27 10:31:31 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868100000 bw=0 sz=21 dr=7 406C9631E080837E0549612378A2D13B4DCD74ED56
Thu Jun 27 10:31:31 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=5, timeonair=51, tm=1719484291
Thu Jun 27 10:31:31 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=5, tm=1719484291
Thu Jun 27 10:31:31 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=0, timeonair=51, tm=1719484291
Thu Jun 27 10:31:39 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868300000 bw=0 sz=23 dr=9 00521403D07ED5B370811C51E36F2AC1FBA5CFF4E86C4B
Thu Jun 27 10:31:39 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=3, timeonair=185, tm=1719484299
Thu Jun 27 10:31:39 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=3, tm=1719484299
Thu Jun 27 10:31:39 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=1, timeonair=185, tm=1719484299
Thu Jun 27 10:31:40 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868100000 bw=0 sz=21 dr=7 4070CC31E080695505DC68A05B7845891F00395E45
Thu Jun 27 10:31:40 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=5, timeonair=51, tm=1719484300
Thu Jun 27 10:31:40 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=5, tm=1719484300
Thu Jun 27 10:31:40 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=0, timeonair=51, tm=1719484300
Thu Jun 27 10:31:41 2024 user.debug basicstation[2450]: [S2E:DEBU] ::1 diid=56550 [ant#0] - next TX start ahead by 2s785ms (10:31:44.195655)
Thu Jun 27 10:31:44 2024 user.debug basicstation[2450]: [S2E:VERB] ::1 diid=56550 [ant#0] - starting TX in 49ms928us: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=20C8D132A2CB40E3EDA79323..D738D135 (33 bytes)
Thu Jun 27 10:31:44 2024 user.info basicstation[2450]: [RAL:INFO] RAL_LGW: lgw_send done: count_us=1364605366.
Thu Jun 27 10:31:44 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-421 downlinkTqByAirtime: dr=3, timeonair=247, tm=1719484304
Thu Jun 27 10:31:44 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_down-423 downlinkTqByPkt: dr=3, tm=1719484304
Thu Jun 27 10:31:44 2024 user.info basicstation[2450]: [S2E:INFO] TX ::1 diid=56550 [ant#0] - dntxed: 868.3MHz 16.0dBm ant#0(0) DR3 SF9/BW125 frame=20C8D132A2CB40E3EDA79323..D738D135 (33 bytes)
Thu Jun 27 10:31:44 2024 user.debug basicstation[2450]: [S2E:DEBU] Tx done diid=56550
Thu Jun 27 10:31:55 2024 user.notice data-broker: data-broker timeout, restart it
Thu Jun 27 10:31:57 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=868300000 bw=0 sz=60 dr=9 8088070227800000015122FA464DE5F86FDD44BE8B08EF50A5A36913FF9199014E65050FDBF2FCA9530DC77DF36AD6182DF815EC72C4990329689E4D
Thu Jun 27 10:31:57 2024 user.debug basicstation[2450]: [RAL:DEBU] [CRC FAIL] 868.300MHz -13.25/-128.1 SF9/BW125 (mod=16/dr=9/bw=4) xtick=52203bf7 (1377844215) 60 bytes: 8088070227800000015122FA464DE5F86FDD44BE8B08EF50A5A36913FF9199014E65050FDBF2FCA9530DC77DF36AD6182DF815EC72C4990329689E4D
Thu Jun 27 10:32:00 2024 cron.info crond[29308]: USER root pid 27699 cmd /mnt/mmcblk0p1/scripts/ws_job_every_minute.sh
Thu Jun 27 10:32:04 2024 user.info basicstation[2450]: [RAL:INFO] RX mod=LORA f=867300000 bw=0 sz=44 dr=10 40CA070227809F0301B4D794B0F17A6429500AE7C13A804F5BCFB4BF6A5783E74CD7835ED1A3F4D6E04EA5DC
Thu Jun 27 10:32:04 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-357 uplinkTqByAirtime: dr=2, timeonair=534, tm=1719484324
Thu Jun 27 10:32:04 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-359 uplinkTqByPkt: dr=2, tm=1719484324
Thu Jun 27 10:32:04 2024 user.debug basicstation[2450]: [LOG:DEBU] rrd_statistic_up-361 ChanBusyByAirtime: chan=4, timeonair=534, tm=1719484324
Thu Jun 27 10:32:04 2024 user.info basicstation[2450]: [SYN:INFO] Time sync qualities: min=136 q90=202 max=267 (previous q90=219)
Thu Jun 27 10:32:04 2024 user.info basicstation[2450]: [SYN:INFO] MCU/SX130X drift stats: min: +0.5ppm q50: -3.3ppm q80: -9.0ppm max: -13.8ppm - threshold q90: -11.4ppm
Thu Jun 27 10:32:04 2024 user.info basicstation[2450]: [SYN:INFO] Mean MCU drift vs SX130X#0: -4.7ppm
Thu Jun 27 10:32:10 2024 authpriv.info dropbear[28342]: Child connection from 10.8.0.56:56502
Thu Jun 27 10:32:14 2024 authpriv.notice dropbear[28342]: Password auth succeeded for 'root' from 10.8.0.56:56502
root@eui-ac1f09fffe061440:~#
Hardware
The end device is our own custom device. It’s working fine for many different projects, so we don’t suspect the firmware or hardware to be the issue. The gateway is a WisGate Edge Lite 2 RAK7268.