Frigate recordings not working

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)”.

The recordings can be viewed in Frigate. The issue seems similar to Frigate Clips/Recording cant be played - #2 by Kdem and Frigate clips will not play on 24.11.1 · Issue #130145 · home-assistant/core · GitHub, but I am already using the latest version of Home Assistant so the proposed solutions do not seems to work for me (Core 2025.2.3, Supervisor 2025.02.0, Operating System 14.2, Frontend 20250210.0).

Any ideas how to solve this?

Solve what? How are you opening the recording to view?
VlcMediaPlayer works here.

I am trying to open the recordings in the web browser from Home Assistant, see the screenshot above.

Cannot find any details in the Home Assistant logs.

Hello Fred84,

blakeblackshear/frigate · Discussions · GitHub is another good place to get help with Frigate.

I noticed the same thing this morning that chrome wont be able to play media.
But in firefox all works like it should be.

Unfortunately not working in Firefox for me either.

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:

iptables -I FORWARD -p tcp ! -s MY_HOMEASSISTANT_IP --dport 5000 -j DROP

… 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).

Hope this helps someone else out!