# Offline Status on gateways page

**URL:** <https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935>\
**Category:** The Things Stack v3\
**Created:** [May 9, 2023, 11:10pm UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935 "2023-05-09T23:10:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkman](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/darkman/32/44267_2.png) [@darkman](https://www.thethingsnetwork.org/forum/u/darkman)\
**Post date:** [May 9, 2023, 11:10pm UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/1 "2023-05-09T23:10:22Z")

</div>

Hi all,

3 out of 4 of my nodes shows Disconnected 20 hours ago (as of now). But inside, I can see receiving packets and gateways status. It just always shows offline. Tried rebooting and everything.

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [May 10, 2023, 7:24am UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/2 "2023-05-10T07:24:50Z")

</div>

What is disconnected? The gateway or the end devices? Can you add screenshots with EUI/IDs redacted?

---

<div class="post-metadata">

**Author:** ![MarcBerg](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/marcberg/32/35697_2.png) [@MarcBerg](https://www.thethingsnetwork.org/forum/u/MarcBerg)\
**Post date:** [May 10, 2023, 11:33am UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/3 "2023-05-10T11:33:04Z")

</div>

Same here. Console shows gateway disconnected, but receive and forward packets.

 ![grafik](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/f/7/f77a5c37cfbe8468219392fc2e5b66d6d61646be.png)

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [May 10, 2023, 11:40am UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/4 "2023-05-10T11:40:51Z")

</div>

Are these UDP Gateways?

---

<div class="post-metadata">

**Author:** ![MarcBerg](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/marcberg/32/35697_2.png) [@MarcBerg](https://www.thethingsnetwork.org/forum/u/MarcBerg)\
**Post date:** [May 10, 2023, 11:43am UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/5 "2023-05-10T11:43:05Z")

</div>

Yes, it’s a Dragino LPS8.

 ![grafik](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/c/8/c8d8bbb475cc9f58bf88350d8b22c4c16a509460.png)

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [May 10, 2023, 11:45am UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/6 "2023-05-10T11:45:04Z")

</div>

Alright. Can you send me the EUI of the gateway via a private message?

---

<div class="post-metadata">

**Author:** ![MarcBerg](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/marcberg/32/35697_2.png) [@MarcBerg](https://www.thethingsnetwork.org/forum/u/MarcBerg)\
**Post date:** [May 10, 2023, 11:47am UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/7 "2023-05-10T11:47:44Z")

</div>

You got mail

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [May 10, 2023, 12:57pm UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/8 "2023-05-10T12:57:14Z")

</div>

So you’ve hit upon a weird edge case with UDP gateways and distributed systems.  
The issue is that there are two sockets (upstream and downstream) for each gateway and in rare-cases, these can be handled via a different Gateway Server instances.  
This causes the gateway connect time to not be stored properly in the stats registry.  
We’ll work on a fix and get back to you on this.

---

<div class="post-metadata">

**Author:** ![TechValleys](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/techvalleys/32/35697_2.png) [@TechValleys](https://www.thethingsnetwork.org/forum/u/TechValleys)\
**Post date:** [May 10, 2023, 2:53pm UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/9 "2023-05-10T14:53:43Z")

</div>

We have exactly the same issue here with both Kerlink and The Things Outdoor Gateways. All 12 of our outdoor gateways are listed as Disconnected but curiously we also have an indoor Pico Next Gateway and that has no such issues…

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [May 11, 2023, 9:35am UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/10 "2023-05-11T09:35:21Z")

</div>

We’ve deployed a patch that should fix this issue. Please confirm.

---

<div class="post-metadata">

**Author:** ![MarcBerg](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/marcberg/32/35697_2.png) [@MarcBerg](https://www.thethingsnetwork.org/forum/u/MarcBerg)\
**Post date:** [May 11, 2023, 2:09pm UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/11 "2023-05-11T14:09:16Z")

</div>

The connection status is displayed correctly again since:

2023-05-10T17:35:59 UTC

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [May 11, 2023, 2:20pm UTC](https://www.thethingsnetwork.org/forum/t/offline-status-on-gateways-page/62935/12 "2023-05-11T14:20:32Z")

</div>


