HASS is 0.117.5 and supervisor 2020.11 running in docker on a RPI 3B+ on Raspbian 9 (Stretch)
I have a camera set up through Blue Iris, and the snapshot view works fine and updates every few seconds. However if I click on the view to see the live view (or select live view instead of auto in the lovelace configuration) it just gives me the broken graphic image (? in a box) instead of a live view.
I used to have zone minder before Blue Iris, and I had exactly the same issues there as well. Occasionally the live view worked, but most of the time it was broken.
I have looked at the camera entity under developer tools and if I cut and paste the stream_source URL into my web browser its very happily gives me a live stream from Blue Iris, but when its backed off through the camera_proxy_stream api url for live view it does not work.
If I try the camera_proxy_stream URL directly in my browser it also does not work. The URL looks like this:
https://external_domainname_for_hass:8123/api/camera_proxy_stream/camera.blueiris_driveway?token=xxxxxxxxx
The unhelpful error message from Safari is:
Safari can’t open the page.
The error is: “The operation couldn’t be completed. ( error 0.)” (:0)
In the logs I can see this :
2020-11-19 13:22:26 DEBUG (MainThread) [homeassistant.components.http.view] Serving /api/camera_proxy/camera.blueiris_driveway to xxx.xxx.xxx.xxx (auth: True)
2020-11-19 13:22:31 DEBUG (MainThread) [homeassistant.components.http.view] Serving /api/camera_proxy_stream/camera.blueiris_driveway to xxx.xxx.xxx.xxx (auth: False)
2020-11-19 13:22:36 DEBUG (MainThread) [homeassistant.components.http.auth] Authenticated 92.27.243.137 for /api/camera_proxy/camera.blueiris_driveway using signed request
2020-11-19 13:22:36 DEBUG (MainThread) [homeassistant.components.http.view] Serving /api/camera_proxy/camera.blueiris_driveway to xxx.xxx.xxx.xxx (auth: True)
And I wonder if the (False) on auth has anything to do with the problem for the stream?
I have also just tested connecting directly to the raspberry pi URL
https://internal_ip_address_for_hass:8123/api/camera_proxy_stream/camera.blueiris_driveway?token=xxxxxxxxx
and the stream works directly on safari, but the log still shows auth: False, so I guess that has nothing to do with it.
2020-11-19 13:29:24 DEBUG (MainThread) [homeassistant.components.http.view] Serving /api/camera_proxy_stream/camera.blueiris_driveway to xxx.xxx.xxx.xxx (auth: False)
Im using OPNsense 20.7.4-amd64 as my firewall router, and have a port forward setup to send traffic on port 8123 to the raspberry pi. Its not doing anything fancy, but clearly must be screwing things up somehow I guess. I have no other issues with anything else on hass with this port forward.