That was my problem because I enabled https it in home Assistant. To get around that I enabled it in the “Cloudflared” addon instead. NOTE: “Cloudflare” and “Cloudflared” are entirely different addons with different purposes. You could instead use the nginx addon to handle https. This can leave local http access but only https access from the internet. “cloudflared” also gives the bonus of no open ports to the internet and nice features like filters. For instance I only allow access from within my country. A setting I could easily change if I were on vacation.
There is another way but it isn’t local only. A guy wrote a template for grabbing his own data from Ecowitt’s cloud api.