# Both gateways disconnected for 48 hours after recreate

**URL:** <https://www.thethingsnetwork.org/forum/t/both-gateways-disconnected-for-48-hours-after-recreate/47154>\
**Category:** The Things Stack v3\
**Created:** [April 27, 2021, 2:16pm UTC](https://www.thethingsnetwork.org/forum/t/both-gateways-disconnected-for-48-hours-after-recreate/47154 "2021-04-27T14:16:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cowjen01](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cowjen01/32/35697_2.png) [@cowjen01](https://www.thethingsnetwork.org/forum/u/cowjen01)\
**Post date:** [April 27, 2021, 2:16pm UTC](https://www.thethingsnetwork.org/forum/t/both-gateways-disconnected-for-48-hours-after-recreate/47154/1 "2021-04-27T14:16:48Z")

</div>

Hello, I had to change the gateway ID of my two existing gateways, so I deleted them and then I recreated them with the same EUI. After that, both gateways are with in a Disconnected status for almost 48 hours.

![Screenshot 2021-04-27 at 16.11.54](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/8/d/8d2ada72357775d88661de10d45981cfb534763a.jpeg)

I check the gateway logs and traffic logs, all seems to be just fine. Before the recreation, both gateways worked without any troubles. I’ve also tried to reboot the gateway, but with no results.

When I try to list my gateways using `ttn-lw-cli g list` I see:

```auto
[{
  "ids": {
    "gateway_id": "iptec-3133303721006f00-gw",
    "eui": "3133303721006F00"
  },
  "created_at": "2021-04-26T15:03:14.792Z",
  "updated_at": "2021-04-27T11:32:15.235Z",
  "version_ids": {

  }
}, {
  "ids": {
    "gateway_id": "iptec-3133303754006500-gw",
    "eui": "3133303754006500"
  },
  "created_at": "2021-04-26T15:05:05.083Z",
  "updated_at": "2021-04-27T12:14:40.762Z",
  "version_ids": {

  }
}]

```

But when I try to check gateway’s stats calling `ttn-lw-cli g get-connection-stats iptec-3133303754006500-gw` I get:

```auto
error:pkg/gatewayserver:not_connected (gateway `iptec-3133303721006f00-gw@ttn` not connected)
    gateway_uid=iptec-3133303721006f00-gw@ttn
    correlation_id=c581540c3ac24637b100f53a14793192
--- error:pkg/redis:not_found (entity not found)

```

Would anyone be so kind and help me to resolve this issue?

---

<div class="post-metadata">

**Author:** ![KurtK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kurtk/32/35697_2.png) [@KurtK](https://www.thethingsnetwork.org/forum/u/KurtK)\
**Post date:** [April 28, 2021, 6:17pm UTC](https://www.thethingsnetwork.org/forum/t/both-gateways-disconnected-for-48-hours-after-recreate/47154/2 "2021-04-28T18:17:30Z")

</div>

I have been experiencing the same issue, I wanted step through the process of adding a gateway again so I deleted my gateway, after recreating the gateway it is stuck as Disconnected.  
It seems like the old instance was not fully deleted since I am still receiving data with the old gateway ID.

---

<div class="post-metadata">

**Author:** ![cowjen01](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cowjen01/32/35697_2.png) [@cowjen01](https://www.thethingsnetwork.org/forum/u/cowjen01)\
**Post date:** [April 30, 2021, 10:44am UTC](https://www.thethingsnetwork.org/forum/t/both-gateways-disconnected-for-48-hours-after-recreate/47154/3 "2021-04-30T10:44:09Z")

</div>

Hello, here is some insight, what is going on: [Gateways disconnected after recreate with different ID · Issue #4103 · TheThingsNetwork/lorawan-stack · GitHub](https://github.com/TheThingsNetwork/lorawan-stack/issues/4103#issuecomment-829987020)

---

<div class="post-metadata">

**Author:** ![system](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/6/2/6250ea44fd2b0d6259489e1a92748df681e1f970.png) [@system](https://www.thethingsnetwork.org/forum/u/system)\
**Post date:** [May 30, 2021, 10:44am UTC](https://www.thethingsnetwork.org/forum/t/both-gateways-disconnected-for-48-hours-after-recreate/47154/4 "2021-05-30T10:44:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
