Device related questions - disk91/helium-chirpstack-community GitHub Wiki
My device does not join and the Event logs indicates Code: OTEE Level: ERROR, when clicking on the log details it indicates DevNonce has already been used
Reason - The device is trying to connect but failed in doing it, (or your device is under attack by a replay - rare), it has done so many retry that the devnonce are reused (they are taken randomly with 65536 differents values).
Why - Many possible reasons for this, noise around the device, device battery level, too weak signal ... But for sure the device does not respect the Join Duty Cycle as specified in the LoRaWan norm.
Solution - There is no software solution solve the physical solution but you can give more chance to the device to connect by reseting the DevNonce list. This can be done through the API. The easiest way to do it is the following:
- create an API key
- Go to top right menu, select
API Documentation - Click on
Authorizeand enterBearer+ your API Key and connect - Go to endpoint DELETE /api/devices/{devEui}/dev-nonces
- Click on
Try it out - Enter the device EUI in the input box
- Execute