400: Bad Request.
What have I done wrong?
How can I problem solve or trace this. Am really stuck.
I have re created the tunnel a few times with the same problem.
Any suggestions. Many thanks in advance.
I have followed all the instructions. All of the install went well. Created a new domain name “example.com”, Used that domain name in the config. Tunnel looks great on the Cloudflare side and no errors in the logs on the HA side. Logs say successfully connected to tunnel. Everything looks fine. Just returns 400 when I want to access the domain name from the outside world.
I have added this to the yaml as instructed:
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
In the HA Cloudflare add on configuration for External Hone Assistant Hostname I put in the new “example.com” domain name.
When testing in the browser I have tried “example.com” and also “example.com:8123”
When I receive 400 I see nothing in the Add On logs. No error. But no success either.
I have a 4g router, with the usual CGNAT issies, so that is why I have gone down this cloudflare path.
Add-on version: 4.0.14
You are running the latest version of this add-on.
System: Home Assistant OS 9.5 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.3.6
Home Assistant Supervisor: 2023.03.2