OpenBalena – Device Appears Offline Immediately After Registration (VPN Reset Issue)

Hello Again :smiling_face_with_tear:

I’m using OpenBalena deployed on Ubuntu in the cloud. Devices register successfully but then immediately appear offline and stay that way.

From my investigation, this seems to be a VPN issue. Logs from the vpn container show constant connection resets:

[vpn-5.2] TCP connection established with [AF_INET]127.0.0.1:51662 [vpn-5.2] 127.0.0.1:51662 Connection reset, restarting [-1] [vpn-5.2] SIGUSR1[soft,connection-reset] received, client-instance restarting
Additional details:

  • Using Cloudflare for SSL, certificate verification is OK.
  • Devices are flashed with production-mode images.
  • Tried multiple debugging steps, but no resolution so far.

Any guidance or known fixes would be greatly appreciated.

Thanks!