koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.9k stars 237 forks source link

Home Assistant WebUI has no display if domain via CloudFlare #1503

Closed bangkuo closed 1 week ago

bangkuo commented 1 week ago

I installed Scrypted in Home Assistant in my HomeLab Server which is running PVE as well, and I also use CloudFlare to connect to my server, everything works fine, but ... while I open Scrypted Web UI, there are three conditions:

(1) Open WebUI from Home Assistant via intranet (192.168.100.7:8123), it works fine, I can also login scrypted with port 10443 (192.168.100.7:10443) as well. (2) Connect via DuckDNS via internet with 8123 port (mydomain.dockdns.org:8123), and open WebUI from Home Assistant, it works fine. But (3) Connect via CloudFlare via internet (https://home.mydomain.com), there is blank display when click on WebUI.

I understand there might be something wrong on port forwarding or something like this, but no ideas how to troubleshooting.

BTW, the rest service like go2rtc, Node-RED, ZIgbee2MQTT... all of them work fine all can be open WebUI via CloudFlare, only scrypted has ni display, no ideas why.

Any comment is appericated, thanks.