# OTAA JOIN - works again after re-registering the device

**URL:** <https://www.thethingsnetwork.org/forum/t/otaa-join-works-again-after-re-registering-the-device/26729>\
**Category:** End Devices (Nodes)\
**Created:** [June 1, 2019, 11:01am UTC](https://www.thethingsnetwork.org/forum/t/otaa-join-works-again-after-re-registering-the-device/26729 "2019-06-01T11:01:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [June 1, 2019, 7:29pm UTC](https://www.thethingsnetwork.org/forum/t/otaa-join-works-again-after-re-registering-the-device/26729/4 "2019-06-01T19:29:49Z")

</div>

Maybe it is a combination of issues:

- Not seeing any traffic when the gateway came back online: the devices might have given up due to not receiving any confirmations (if that’s true: yet another reason to not use confirmed uplinks), or when trying to re-join a lot during the two weeks that the gateway did not work?

- Not being able to join after the reset: are these LoRaWAN 1.1 devices? LoRaWAN 1.1 uses an incremental value for the DevNonce, and devices should _always_ store the last value they used. If the reset made them (erroneously) start at zero again, then TTN would ignore the first join attempts, until at some point a value is used that TTN has not seen earlier.† However: (earlier) TTN would show an error then; see [OTAA shows "Activation DevNonce not valid: already used"](https://www.thethingsnetwork.org/forum/t/otaa-shows-activation-devnonce-not-valid-already-used/5079).

The first bullet point might not be relevant. How much time did you wait to see if data came in after the gateway was back online? At some point a proper device will back off in its join attempts, so a long time might pass between two tries.

But re-registering a device does remove the history of DevNonces, so if the issue at hand is related to that, then I’d assume a 1.1 device (or a bad 1.0.x device). You could easily verify by resetting a device again, and/or see the DevNonce using [an online decoder](https://runkit.io/avbentem/lorawan-packet-decoder/branches/master).

As an aside: in the first post you wrote “some devices”, in the last “the device”. This applied to multiple devices, right?

* * *

† The community network does not support 1.1 yet, but the 1.0.x and 1.1 Join Requests are the same, except that in 1.0.x the DevNonce is a random value which makes the chances for using the same value much smaller. After receiving a 1.0.x Join Accept, a 1.1 device will fall back to 1.0.x.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/otaa-join-works-again-after-re-registering-the-device/26729)._
