Let me explain my current situation.
I have a TrueNas Scale installed on a computer. I have configured Cloudflare certificate and have a number of Apps running with Traefik for proxy using Ingress to be able to access those apps with SSL - all of that works perfectly.
I installed HomeAssistant in a VM using this excellent tutorial from HA community: https://community.home-assistant.io...n-freenas-without-iocage-or-docker/133738/127 (selected this method, as it allows on using HA supervisor and plug ins)
Home Assistant is working very well, and I can access it using VM IP address.
I would like to be able to access Home Assistant VM using domain name instead of IP.
I have installed the External Service app, set it up with an External Service IP pointing to VM IP, and enabled ingress with my domain and "/" path, with Cloudflare certificate.
It seemed to work, when I accessed: ha.domain.com it showed HomeAssistant logo, but after a while it ended with an error.
I checked the Developer tools on the website and noticed 2 things:
* Some of the requests ended with NET::ERR_FAILED for network connectivity (manifest.json and wss://ha.domain.com websocket requests)
* More strangely, some of the requests ends with NET::ERR_CERT_AUTHORITY_INVALID,
I investigated the second issue more, as it seemed a little strange, and force refreshing few times url ha.domain.com/lovelace DID show the incorrect certificate error, browser showing local traefik certificate being used instead of the Cloudflare one.
Has anyone encounter such strange behaviour? Is there a way to fix it, so that certificate is always used and there's no network errors?
I have a TrueNas Scale installed on a computer. I have configured Cloudflare certificate and have a number of Apps running with Traefik for proxy using Ingress to be able to access those apps with SSL - all of that works perfectly.
I installed HomeAssistant in a VM using this excellent tutorial from HA community: https://community.home-assistant.io...n-freenas-without-iocage-or-docker/133738/127 (selected this method, as it allows on using HA supervisor and plug ins)
Home Assistant is working very well, and I can access it using VM IP address.
I would like to be able to access Home Assistant VM using domain name instead of IP.
I have installed the External Service app, set it up with an External Service IP pointing to VM IP, and enabled ingress with my domain and "/" path, with Cloudflare certificate.
It seemed to work, when I accessed: ha.domain.com it showed HomeAssistant logo, but after a while it ended with an error.
I checked the Developer tools on the website and noticed 2 things:
* Some of the requests ended with NET::ERR_FAILED for network connectivity (manifest.json and wss://ha.domain.com websocket requests)
* More strangely, some of the requests ends with NET::ERR_CERT_AUTHORITY_INVALID,
I investigated the second issue more, as it seemed a little strange, and force refreshing few times url ha.domain.com/lovelace DID show the incorrect certificate error, browser showing local traefik certificate being used instead of the Cloudflare one.
Has anyone encounter such strange behaviour? Is there a way to fix it, so that certificate is always used and there's no network errors?