I have been trying to integrate Frigate (running in a separate Docker) with Home Assistant (installed through HAOS). MQTT add-on and the Frigate integration are working, I can see the camera live stream in Home Assistant (through go2rtc), and notifications from Frigate seem to be working as well. Under Media > Frigate > Recordings > Camera, I also see folders per day with a recording file for each hour. However, when I open one of these recordings, the recordings are not displayed and instead an error message is given: “Error starting stream, see logs for details (Stream never started)”.
So, I’ve found a solution at least for my setup and a probable bug. I’ve got HAOS in a KVM VM and Frigate elsewhere in a docker container. I had the Frigate addon pointed to Frigate over port 8971 (TLS was disabled in my config per the Frigate manual to allow HA to talk to Frigate without SSL issues).
Under these circumstances, I got the same error as you, and the docker logs for Frigate were indicating HTTP status 401 (Unauthorized) when trying to play the clips and recordings.
Figuring this might be the source of the problem (and a bug), I enabled port 5000 in my docker-compose.yml and pointed the Frigate add-on to it.
This worked for me and I can now play the clips/recordings from HA. I also added an IPTables rule to the host holding the Frigate Docker:
… to deny everything else from being able to contact the unauthenticated 5000 port other than my HAOS install (the MY_HOMEASSISTANT_IP is a placeholder for your HAOS’s IP).