I have a strange issue, since my chirpstack server was long time offline. I have v3 and v4 gateways (v3 compatibility is enabled). Everything worked, before I have migrated my server from a datacenter to another. The virtual machine was 4 month offline. Nothing changed on the vm, except the ip. I migrated it, and started it on an other lication. The communication between the gw’s and chirpstack (via vpn) seems to be ok, ping is ok in both direction. The gw’s are online in chirpstack, but my dragino lht52 temperature sensors not sending any data. I have tried the “FLash OTAA device nonces” button, I have reseted the devices, but I see no data… If I push reset on the device, I can’t see no join request. I have deleted some devices under application, and created it new, after that reseted the device, but nothing happens. I see no join, they are sending no data… The gateways are online, and under frames, I can see lora communication, but the lht52-s are offline. I have 300 device, and all of them are offline.
Are you getting any errors in the Chirpstack logs?
Do your gateways have logging of their own?
Do the devices still have their session keys? (if you click device activation in the devices page there should be keys filled in there).
My hunch is #3 is the issue. Before v4.7 Chirpstack will delete the keys after multiple months of no uplinks (this would probably also be triggered if the server has been offline for long enough) this would explain why you can see LoRa communication in the gateway frames, but none under the device itself. While the devices are uplinking, Chirpstack no longer contains the keys to decrypt the data and assign it to a device, and now Chirpstack is expecting the devices to attempt another join-request.
Yes, i found it! You will never figure out what went wrong. I worked on the problem 3 weeks long. I installed a brand new chirpstack infrastructure. I tested from many locations with many gateways, and the problem was: battery…
I had one sensor, that worked fine, and 200 that was wrong… I installed the battery from the working one, to another, and what worked before, was not working anymore, any the other worked good. I have tested other sensors also, with new battery, and they are working now…
The error was tricky, because the led’s blinked, they sent data, but if I reseted the sensor, they coul’d not rejoin with the old battery, only with a new…