Is there a way to stop the LoRa App Server from deactivating devices. Our devices are not always on and we use ABP. So when we come to use them, half the time they dont work because they have been deactivated. We then have to go back through and reactivate them all.
You can increase the device-session TTL in your
# Device session expiration.
# The TTL value defines the time after which a device-session expires
# after no activity. Valid units are 'ms', 's', 'm', 'h'. Note that these
# values can be combined, e.g. '24h30m15s'.
I have two questions:
What should I do to activate the change of the device_session_ttl parameter?
Do I need to restart the loraserver service (sudo systemctl restart loraserver)?
I started using the latest version of the loraserver (3.2.1) and cannot find device_session_ttl parameter.
ABP session will no longer be time limited?
What about OTAA session ttl?
Thanks in advanced …
Another question from me I have the device_session_ttl set to default value, but the activation for all our devices on the server is removed at the same time, in random moments. Do you know what may be the cause of such behaviour? Devices are sending data every 10 minutes…
This could be a misconfiguration of your Redis database. Please see: https://redis.io/topics/persistence.
It was a Redis issue indeed. We’ve found out that Redis port was opened on firewall and there were some kind of attacks on it, causing Redis to fail and loose our activation data.