CloudFlare - 400: Bad request

I have been following Using Cloudflare Tunnels For Hosting & Certificates Without Exposing Ports On Your Firewall

My tunnel seems to be fine

When I visit http:\ I get “400: Bad Request”

I can however browse locally to the 192 address

I thought it might be something on my HomeAssistant box but then I tried adding pfsense and then I just get This site can’t be reached took too long to respond.

So I have something incorrectly configured.

So I tried a third servce and that worked just fine which means there is something on HASS and pFsense that is causing this this. I just need to workout how to troubleshoot these issues.

Worked out the HASS issue… I needed to list the cloudflare docker instance as a trusted proxy in my configuration.yml file

1 Like