Was wondering if anyone else was experiencing random but common Home Assistant App disconnects using a Cloudflare tunnel? Previously, I was tunneling into a server on my LAN using NGROK to access HA and it was pretty solid. When I found I could save a few bucks a month using Cloudflare, I switched over. Here are the details:
- Disconnects last anywhere from a few seconds to a few minutes.
- They seem very random. More of a nuisance than anything.
- It always reconnects eventually.
- I use a separate server to run Cloudflared on my LAN and have multiple tunnels, but I also administer a friend’s Home Assistant (different network, single tunnel). His HA is on a Raspberry Pi and he uses the Cloudflared Add-on in Home Assistant. Both experience the same issue. Might be my imagination, but the disconnects seem to occur more often on the setup with the Cloudflared Add-on.
Anyway, was wondering if anyone might have any ideas to fix the issue, or if it is just a Cloudflare issue I have to live with. There are a few timeout settings you can change at Cloudflare (tunnel configuration). I have mine all set to the defaults.
Cheers