Hi @Jeff-UK,
It’s the same device trying to repeat the join process in the previous grab. The end device is a Minew LSP01 LoRaWAN PIR Sensor using LoRaWAN 1.0.3. I do not know how to check the end node logs, I’m not sure it can log anything. I checked the gateway logs and it appears to not send any downlinks to that sensor. There is a second sensor that had trouble connecting and now it successfully sends data. This device has initially connected a while ago, transmited for about 5 hours, then tried to repeat the join process similar to this LSP01 device. I’m really confused. This second sensor is a Seat & Desk Occupancy Sensor | PIR Occupancy Sensor | Milesight running version 1.0.3. The odd thing about this sensor is when I look at the device overview I see the root keys provisioned on an external Join Server. I’m not sure how this is possible considering I’m running a single instance of the stack using the tutorial docker file.
Furthermore, I set up 2 more devices that have the same issue as the previous LSP01, they try to repeat the join process over and over again:
Cubicle & Bathroom Occupancy Sensor | Milesight with the tag mlb00000 DevEUI: 24E124617D446595 and AppEUI: 24E124C0002A0001 with the LoRaWAN version 1.0.3
Gateway logs on MLB0000
2025-09-16 13:12:02.828 [SYN:VERB] Time sync rejected: quality=283 threshold=278
2025-09-16 13:12:04.799 [RAL:DEBU] [CRC FAIL] 867.700MHz -10.00/-105.4 SF12/BW125 (mod=16/dr=12/bw=4) xtick=3a407c2a (977304618) 23 bytes: 000100EA00C024E1249565447D7124E124D24A2ADE843B
2025-09-16 13:12:04.800 [S2E:VERB] RX 868.1MHz DR0 SF12/BW125 snr=9.0 rssi=-48 xtime=0x6C00003A407C3F - jreq MHdr=00 JoinEui=24e1:24c0:2a:1 DevEui=24e1:2461:7d44:6595 DevNonce=19154 MIC=998563370
TTN Stack logs on MLB00000
DEBUG Crypto Server connection is not available {“cluster_role”: “CRYPTO SERVER”, “dev_eui”: “24E124617D446595”, “error”: “error:pkg/cluster:peer_unavailable (CRYPTO SERVER cluster peer unavailable)”, “grpc.method”: “HandleJoin”, “grpc.service”: “ttn.lorawan.v3.NsJs”, “join_eui”: “24E124C0002A0001”, “namespace”: “joinserver”, “request_id”: “01K59AEQZEDRAP378RM37VDB6B”}
INFO Finished unary call {“duration”: 0.002, “grpc.method”: “HandleJoin”, “grpc.service”: “ttn.lorawan.v3.NsJs”, “namespace”: “grpc”, “peer.address”: “pipe”, “request_id”: “01K59AEQZEDRAP378RM37VDB6B”}
DEBUG Join-request accepted by cluster-local Join Server {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:12 coding_rate:\“4/5\”}”, “dev_addr”: “26000386”, “dev_eui”: “24E124617D446595”, “device_channel_index”: 0, “device_uid”: “dlorawan.mlb00000”, “frequency”: 868100000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758028324.8452337, “request_id”: “01K59AEQZDSTR4W30BTE84M32G”, “spreading_factor”: 12}
DEBUG Publish events {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:12 coding_rate:\“4/5\”}”, “dev_addr”: “26000386”, “dev_eui”: “24E124617D446595”, “device_channel_index”: 0, “device_uid”: “dlorawan.mlb00000”, “event_count”: 3, “frequency”: 868100000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758028324.8452337, “request_id”: “01K59AEQZDSTR4W30BTE84M32G”, “spreading_factor”: 12}
INFO Finished unary call {“auth.token_id”: “X57BAMGFVGE7ITA3ZIRAQEAE2O7VCCWQBWSCUEY”, “auth.token_type”: “AccessToken”, “auth.user_id”: “claudiu”, “duration”: 0.0053, “grpc.method”: “GetGatewayConnectionStats”, “grpc.request.gateway_id”: “direk-dml00002”, “grpc.service”: “ttn.lorawan.v3.Gs”, “namespace”: “grpc”, “peer.address”: “pipe”, “peer.real_ip”: “82.16.22.230”, “request_id”: “01K59AER56YWJW32K8W96B3ANB”}
INFO Request handled {“auth.token_id”: “X57BAMGFVGE7ITA3ZIRAQEAE2O7VCCWQBWSCUEY”, “auth.token_type”: “AccessToken”, “duration”: 0.0059, “http.method”: “GET”, “http.path”: “/api/v3/gs/gateways/direk-dml00002/connection/stats”, “http.status”: 200, “namespace”: “web”, “peer.address”: “172.18.0.46:54008”, “peer.real_ip”: “82.16.22.230”, “request_id”: “01K59AER56YWJW32K8W96B3ANB”}
DEBUG Merged metadata {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:12 coding_rate:\“4/5\”}”, “dev_addr”: “26000386”, “dev_eui”: “24E124617D446595”, “device_channel_index”: 0, “device_uid”: “dlorawan.mlb00000”, “frequency”: 868100000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “metadata_count”: 1, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758028324.8452337, “request_id”: “01K59AEQZDSTR4W30BTE84M32G”, “spreading_factor”: 12}
DEBUG Add downlink task {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:12 coding_rate:\“4/5\”}”, “dev_addr”: “26000386”, “dev_eui”: “24E124617D446595”, “device_channel_index”: 0, “device_uid”: “dlorawan.mlb00000”, “frequency”: 868100000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758028324.8452337, “request_id”: “01K59AEQZDSTR4W30BTE84M32G”, “spreading_factor”: 12, “start_at”: 1758028326.6452336}
DEBUG Publish events {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:12 coding_rate:\“4/5\”}”, “dev_addr”: “26000386”, “dev_eui”: “24E124617D446595”, “device_channel_index”: 0, “device_uid”: “dlorawan.mlb00000”, “event_count”: 1, “frequency”: 868100000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758028324.8452337, “request_id”: “01K59AEQZDSTR4W30BTE84M32G”, “spreading_factor”: 12}
Smart Current Transformer | Portable Current Transformer | Milesight with the tag mct00003 DevEUI: 24E124746F210592 and AppEUI: 24E124C0002A0001 with the LoRaWAN version 1.0.3
Gateway logs on MCT00003
2025-09-16 13:09:49.253 [S2E:VERB] RX 868.1MHz DR2 SF10/BW125 snr=11.0 rssi=-49 xtime=0x6C0000322C6646 - jreq MHdr=00 JoinEui=24e1:24c0:2a:1 DevEui=24e1:2474:6f21:592 DevNonce=52063 MIC=-489711732
2025-09-16 13:10:44.780 [___:INFO] WARNING: not enough space allocated, fetched 3 packet(s), 2 will be left in RX buffer
Note: remaining 2 packets in RX buffer, do not fetch sx1302 yet…
WARNING: not enough space allocated, fetched 2 packet(s), 1 will be left in RX buffer
Note: remaining 1 packets in RX buffer, do not fetch sx1302 yet…
WARNING: not enough space allocated, fetched 3 packet(s), 2 will be left in RX buffer
Note: remaining 2 packets in RX buffer, do not fetch sx1302 yet…
WARNING: not enough space allocated, fetched 2 packet(s), 1 will be left in RX buffer
Note: remaining 1 packets in RX buffer, do not fetch sx1302 yet…
WARNING: not enough space allocated, fetched 2 packet(s), 1 will be left in RX buffer
Note: remaining 1 packets in RX buffer, do not fetch sx1302 yet…
WARNING: not enough space allocated, fetched 2 packet(s), 1 will be left in RX buffer
Note: remaining 1 packets in RX buffer, do not fetch sx1302 yet…
WARNING: not enough space allocated, fetched 2 packet(s), 1 will be left in RX buffer
Note: remaining 1 packets in RX buffer, do not fetch sx1302 yet…
2025-09-16 13:10:49.253 [S2E:VERB] RX 868.3MHz DR2 SF10/BW125 snr=12.5 rssi=-50 xtime=0x6C000035BFDA77 - jreq MHdr=00 JoinEui=24e1:24c0:2a:1 DevEui=24e1:2474:6f21:592 DevNonce=46677 MIC=31700654
2025-09-16 13:10:55.613 [SYN:INFO] MCU/SX130X drift stats: min: +0.5ppm q50: +4.8ppm q80: +8.6ppm max: +20.9ppm - threshold q90: +12.9ppm
2025-09-16 13:10:55.613 [SYN:INFO] Mean MCU drift vs SX130X#0: 5.5ppm
2025-09-16 13:11:45.349 [RAL:DEBU] [CRC FAIL] 867.100MHz -23.75/-133.4 SF12/BW125 (mod=16/dr=12/bw=4) xtick=39177cfd (957840637) 17 bytes: 888CA4D882B0FF4583427A1942C70E80D3
2025-09-16 13:11:49.247 [S2E:VERB] RX 868.1MHz DR2 SF10/BW125 snr=-8.2 rssi=-48 xtime=0x6C00003953612F - jreq MHdr=00 JoinEui=24e1:24c0:2a:1 DevEui=24e1:2474:6f21:592 DevNonce=27244 MIC=-1242121964
2025-09-16 13:12:49.259 [S2E:VERB] RX 868.3MHz DR2 SF10/BW125 snr=13.8 rssi=-46 xtime=0x6C00003CE6E42D - jreq MHdr=00 JoinEui=24e1:24c0:2a:1 DevEui=24e1:2474:6f21:592 DevNonce=23149 MIC=1724374443
2025-09-16 13:12:56.388 [SYN:VERB] Time sync rejected: quality=280 threshold=268
TTN STACK logs on MCT00003
DEBUG Crypto Server connection is not available {“cluster_role”: “CRYPTO SERVER”, “dev_eui”: “24E124746F210592”, “error”: “error:pkg/cluster:peer_unavailable (CRYPTO SERVER cluster peer unavailable)”, “grpc.method”: “HandleJoin”, “grpc.service”: “ttn.lorawan.v3.NsJs”, “join_eui”: “24E124C0002A0001”, “namespace”: “joinserver”, “request_id”: “01K5995ZPJ235RTE85GT4J1MST”}
INFO Finished unary call {“duration”: 0.0027, “grpc.method”: “HandleJoin”, “grpc.service”: “ttn.lorawan.v3.NsJs”, “namespace”: “grpc”, “peer.address”: “pipe”, “request_id”: “01K5995ZPJ235RTE85GT4J1MST”}
DEBUG Join-request accepted by cluster-local Join Server {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:10 coding_rate:"4/5"}”, “dev_addr”: “260008D0”, “dev_eui”: “24E124746F210592”, “device_channel_index”: 1, “device_uid”: “dlorawan.mct00003”, “frequency”: 868300000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758026989.2653852, “request_id”: “01K5995ZPHX0B7Q39ASPHXQE0H”, “spreading_factor”: 10}
DEBUG Publish events {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:10 coding_rate:"4/5"}”, “dev_addr”: “260008D0”, “dev_eui”: “24E124746F210592”, “device_channel_index”: 1, “device_uid”: “dlorawan.mct00003”, “event_count”: 3, “frequency”: 868300000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758026989.2653852, “request_id”: “01K5995ZPHX0B7Q39ASPHXQE0H”, “spreading_factor”: 10}
DEBUG Merged metadata {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:10 coding_rate:"4/5"}”, “dev_addr”: “260008D0”, “dev_eui”: “24E124746F210592”, “device_channel_index”: 1, “device_uid”: “dlorawan.mct00003”, “frequency”: 868300000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “metadata_count”: 1, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758026989.2653852, “request_id”: “01K5995ZPHX0B7Q39ASPHXQE0H”, “spreading_factor”: 10}
DEBUG Add downlink task {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:10 coding_rate:"4/5"}”, “dev_addr”: “260008D0”, “dev_eui”: “24E124746F210592”, “device_channel_index”: 1, “device_uid”: “dlorawan.mct00003”, “frequency”: 868300000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758026989.2653852, “request_id”: “01K5995ZPHX0B7Q39ASPHXQE0H”, “spreading_factor”: 10, “start_at”: 1758026991.065385}
DEBUG Publish events {“bandwidth”: 125000, “data_rate”: “lora:{bandwidth:125000 spreading_factor:10 coding_rate:"4/5"}”, “dev_addr”: “260008D0”, “dev_eui”: “24E124746F210592”, “device_channel_index”: 1, “device_uid”: “dlorawan.mct00003”, “event_count”: 1, “frequency”: 868300000, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “join_eui”: “24E124C0002A0001”, “m_type”: “JOIN_REQUEST”, “major”: “LORAWAN_R1”, “namespace”: “networkserver”, “phy_payload_len”: 23, “received_at”: 1758026989.2653852, “request_id”: “01K5995ZPHX0B7Q39ASPHXQE0H”, “spreading_factor”: 10}
INFO Finished unary call {“duration”: 0.2032, “grpc.method”: “HandleUplink”, “grpc.service”: “ttn.lorawan.v3.GsNs”, “namespace”: “grpc”, “peer.address”: “pipe”, “request_id”: “01K5995ZPHX0B7Q39ASPHXQE0H”}
I also noticed my Pub/Subs integration is gone for this application. Maybe it’s related to why the only working sensor shows root keys provisioned on external join server?
I changed the power cable of the gateway to a 12V DC as specified in the manual, but that didn’t seem to change anything meaningful.
At the moment, the working end device has been transmitting for 4 hours, with exactly 254 received uplinks.