Open chopmann opened 3 years ago
I'm not exactly sure if I understand the issue.
replace the device-profile of device(s)
What did you expect after this and what did not work?
msg="redis key does not exist" error="redis: nil" redis_key="lora:ns:gw:00800000a00037b2"
I'm not sure to which part of the code you added this log and what the relation is with the device that you are updating.
What happened?
redis keys seem to disappear or are not updated.
What did you expect?
redis key to live as long as the ttl and get updated
Steps to reproduce this issue
Steps:
Could you share your log output?
I added the log output to the network-server where redis.nil was being checked. The update bug we found out yesterday while updating some devices and they started failing after that. We checked the database and finally redis, we noticed that the device-profile was wrong, after modifying the value with the right device-profile-id the devices started working.
We have 3 NS and 3 AS. I reduced the count to 1 and the Issue still appears. Is this expected?
Your Environment