Issue with Accessing Home Assistant via Cloudflare Tunnel on Intel NUC
Hello everyone,
I’m facing an issue where I can’t access my Home Assistant instance via a DNS URL set up through a Cloudflare tunnel.
I was able to access homeassistant back when i ran the tunnel over the Cloudflared Add-On - But now Cloudflared should run on the Host machine.
Here’s the setup and problem in detail:
Setup
Host Machine: Intel NUC running Ubuntu 22.04
Home Assistant Environment: Running in a VirtualBox VM with a bridged network adapter.
IP Addresses:
NUC: 192.168.178.2 (Static)
Home Assistant: 192.168.178.100 (Static)
Cloudflare Tunnel Configuration: Configured to point assistant.infraviored.lol to http://192.168.178.100:8123.
What should you look for in the HA logs? I have a basically identical setup to OP except I get 502: Bad Gateway instead of 400: Bad Request, and adding 0.0.0.0/0 to configuration.yaml did not allow me to reach HA from outside.
I don’t see anything in the log about entrusted proxies (also, which log? Core, Supervisor, host, DNS…?)
@Infraviored Hi How did you solve this issue, I am facing the same one with the Bad Request error.
I am not that skilled in networking, so the terminology is a mistery for me I have multiple
Those all have https:// and when accesing, they give me the red warning about the certificate not being valid. net::ERR_CERT_AUTHORITY_INVALID.
If I setup the tunnel, which is outside HA (192.168.0.66) and I make for example kasm.xxgmxx.com it works and no error but when done with HA - ha.xxgmxx.com I get the 400 error Request` error. How is that possible, that both having initially problem with certificat one of them is now ok, but HA not?
I am quite lost not knowing what to be looking for if one works and the other not. There must be something I am missing.
Hello friends, currently I’m accesing to mi HA by Cloudflare tunnel, and its all very good, but a have a question:
I set up a rule on cloudflare, to access HA by google account, but the Android app don’t redirect me a new tab to login with my gmail acoount, only i see an error. How can i do it? I need add a plus of security to my server