# Device showing offline this morning

**URL:** <https://forums.balena.io/t/device-showing-offline-this-morning/5441>\
**Category:** Product support\
**Created:** [February 25, 2019, 4:52pm UTC](https://forums.balena.io/t/device-showing-offline-this-morning/5441 "2019-02-25T16:52:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreed47](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dreed47/32/1099_2.png) [@dreed47](https://forums.balena.io/u/dreed47)\
**Post date:** [February 25, 2019, 4:52pm UTC](https://forums.balena.io/t/device-showing-offline-this-morning/5441/1 "2019-02-25T16:52:16Z")

</div>

This morning I see one of my applications has it’s only device showing as offline. But I know it’s up and running as I can use the app running on it. I hard rebooted the device (disconnected power) and still the dashboard is showing it as offline. So I did a git push balena master command and that ran fine. But it still shows as offline in the dashboard. What’s the best way to get the device back online in the dashboard without losing the app data thats on the device?

---

<div class="post-metadata">

**Author:** ![sradevski](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sradevski/32/1609_2.png) [@sradevski](https://forums.balena.io/u/sradevski)\
**Post date:** [February 25, 2019, 5:23pm UTC](https://forums.balena.io/t/device-showing-offline-this-morning/5441/4 "2019-02-25T17:23:02Z")

</div>

Hey there,

The cause might be due to the device not connecting correctly to the VPN, the supervisor not reporting the device status correctly, or maybe something else. If you don’t mind you can enable support for the device and send me its UUID and I can have a look at it. I will PM you and you can send it there.

Cheers,  
Steve

---

<div class="post-metadata">

**Author:** ![dreed47](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dreed47/32/1099_2.png) [@dreed47](https://forums.balena.io/u/dreed47)\
**Post date:** [February 25, 2019, 5:24pm UTC](https://forums.balena.io/t/device-showing-offline-this-morning/5441/5 "2019-02-25T17:24:20Z")

</div>

sure. thx

---

<div class="post-metadata">

**Author:** ![sradevski](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sradevski/32/1609_2.png) [@sradevski](https://forums.balena.io/u/sradevski)\
**Post date:** [February 25, 2019, 5:55pm UTC](https://forums.balena.io/t/device-showing-offline-this-morning/5441/6 "2019-02-25T17:55:37Z")

</div>

Hey there,

It seems the device fails to connect to the VPN by the looks of it, so I would suggest you first look at there threads:

> [@Device is offline all the time](https://forums.balena.io/t/device-is-offline-all-the-time/3101/60):
>
> @thgreasi to make everything clear I don’t have a working RPI with resin networks, the RPIs came online and offline randomly!

> [@Devices recognized by server but always offline](https://forums.balena.io/t/devices-recognized-by-server-but-always-offline/4721/17):
>
> I got the same issue. Proxy behind a proxy. The problem is the HAProxy of openbalena use HTTP on port 80 and TCP on port 443. So the first proxy has to listen on TCP for the port 443 too. But in almost all cases, 443 is already used for HTTPS. [https://github.com/balena-io/open-balena/blob/master/haproxy/haproxy.cfg](https://github.com/balena-io/open-balena/blob/master/haproxy/haproxy.cfg) I cannot change my configuration so I will try to figure out how to change openbalena’s ports.

And try the suggestions that are listed there. If that fails to solve your issue let us know and we can have a deeper look into the issue.

Thanks!

---

<div class="post-metadata">

**Author:** ![sradevski](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sradevski/32/1609_2.png) [@sradevski](https://forums.balena.io/u/sradevski)\
**Post date:** [February 25, 2019, 6:22pm UTC](https://forums.balena.io/t/device-showing-offline-this-morning/5441/7 "2019-02-25T18:22:38Z")

</div>

Hey, just one more thing I failed to mention earlier, can you please share the VPN logs (retrievable using `journalctl -a -u openvpn`) in the public thread, as well as any of your findings? I think it will be helpful both to us and other users that will stumble upon the thread. Thanks a lot!

---

<div class="post-metadata">

**Author:** ![dreed47](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dreed47/32/1099_2.png) [@dreed47](https://forums.balena.io/u/dreed47)\
**Post date:** [February 25, 2019, 9:57pm UTC](https://forums.balena.io/t/device-showing-offline-this-morning/5441/8 "2019-02-25T21:57:28Z")

</div>

I could not get this resolved with my existing device using the OS version that it had installed. I had to update it to the latest OS version (balenaOS 2.29.2+rev2). Unfortunately it also meant that I lost my data on the device.
