Having problems accessing from iOS app locally on WiFi after CloudFlare tunnel

Good morning,
Last week I configured HA to be accessible remotely using the Cloudflare tunnel options. I pretty much used Lewis’ Youtube walkthrough, also written up on his site, except I didn’t use Freenom to register my domain, but did it all on Cloudflare.

Initially it functioned great, but then my app stopped working when connected to WiFi locally. I know this is because of an SSL issue, so I changed the URL from the local URL to the Cloudflare URL, and it still wouldn’t connect when connected to my WiFi. As soon as I turned off WiFi, it connects fine.

This obviously isn’t an ideal solution, and only works on my devices that have cellular connections, so my iMac doesn’t work through the App Store app, only through the browser, and I have to bypass all the SSL errors.

Here is the relevant section of my configuration.yaml

http:
  ssl_certificate: /ssl/origin.pem
  ssl_key: /ssl/cfprivkey.pem
#  ip_ban_enabled: true
#  login_attempts_threshold: 5
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24

Same issue here, but not just local Wi-Fi; all Wi-Fi.

also having this problem after accessing ha via domain name instead of url, locally :woozy_face:

works over internet, works from my computer, but not iOS app