Hi everyone,
I'm having an issue with remote access to Home Assistant via Cloudflare Tunnel. It stopped working about a week ago after I tried to configure the LetsEncrypt add-on (which I then uninstalled).
My setup:
- Hardware: Home Assistant Green
- HA OS: 17.3 (aarch64)
- HA Core: 2026.5.1
- Cloudflared add-on: 7.0.6
- Domain: OVH domain with Cloudflare proxy (orange cloud)
- SSL/TLS Cloudflare mode: Full (strict)
- No Nginx Proxy Manager
What works:
- Local access via
http://192.168.1.10:8123
- Cloudflare Tunnel connects successfully (4 connections registered in logs)

- Login page loads on
https://42rdfdt.fr
What doesn't work:
- After login, browser shows "Unable to connect to Home Assistant. Retrying in X seconds."
- Firefox console shows:
Firefox can't establish a connection to the server at wss://42rdfdt.fr/api/websocket - Chrome shows:
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
What I've already tried:
- WebSockets enabled in Cloudflare Network settings

- SSL/TLS set to Full (strict)

- Added trusted_proxies in configuration.yaml
- Deleted
/ssl/fullchain.pemand/ssl/privkey.pemleft by LetsEncrypt add-on - Disabled Rocket Loader via Cloudflare Configuration Rule
- Cleared Firefox cache and cookies for the domain
- Tested on 4G (mobile hotspot) — same issue
My current configuration.yaml:
yaml
default_config:
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.32.0/24
- 172.30.33.0/24
- 172.30.32.1
- 127.0.0.1
- ::1
ip_ban_enabled: false
homeassistant:
external_url: "https://42rdfdt.fr"
internal_url: "http://192.168.1.10:8123"
Cloudflared add-on configuration:
- External hostname:
42rdfdt.fr - Tunnel name:
homeassistant - No additional hosts
- Post-quantum cryptography: disabled
Cloudflared logs show no errors — tunnel connects perfectly to Cloudflare edge servers.
Any help would be greatly appreciated. Thank you!